OSCR

Block oscr:b:45NKCM20RZJ5W-L

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:45NKCM20RZJ5W-L
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1011793 · its page here
Code
github.com/paulbrodersen/somnotate, somnotate/_automated_state_annotation.py, lines 22 to 69 (StateAnnotator.fit)
Commit read
a20f33de62511d8c172e333896608b7fc166d0f0
SWHID
swh:1:cnt:34334ee397ec28f0c03404db0924cd417caa8e6d;origin=https://github.com/paulbrodersen/somnotate;anchor=swh:1:rev:a20f33de62511d8c172e333896608b7fc166d0f0;path=/somnotate/_automated_state_annotation.py;lines=22-69 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 47 (Materials and methods › Automated vigilance state annotation); paragraph 6 (Results › Establishing a probabilistic vigilance state classifier)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:45NKCM20RZJ5W-L (https://openscicode.org/b/oscr:b:45NKCM20RZJ5W-L)
somnotate/_automated_state_annotation.py, lines 22 to 69, in github.com/paulbrodersen/somnotate (https://github.com/paulbrodersen/somnotate), commit a20f33de62511d8c172e333896608b7fc166d0f0.
Paper: https://doi.org/10.1371/journal.pcbi.1011793
SWHID: swh:1:cnt:34334ee397ec28f0c03404db0924cd417caa8e6d;origin=https://github.com/paulbrodersen/somnotate;anchor=swh:1:rev:a20f33de62511d8c172e333896608b7fc166d0f0;path=/somnotate/_automated_state_annotation.py;lines=22-69