OSCR

Block oscr:b:BDAMKD5KTRVQ5-R

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:BDAMKD5KTRVQ5-R
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41526-021-00177-1 · its page here
Code
github.com/raphaelvallat/yasa, src/yasa/detection.py, lines 1617 to 1663 (sw_detect)
Commit read
6a822164ee9caab51d9a932f642015252de21b82
SWHID
swh:1:cnt:b0125dcbd6f08e71a2fcd5913727f01dad1b7cb9;origin=https://github.com/raphaelvallat/yasa;anchor=swh:1:rev:6a822164ee9caab51d9a932f642015252de21b82;path=/src/yasa/detection.py;lines=1617-1663 (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 57 (Methods › Slow wave detection)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-18

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:BDAMKD5KTRVQ5-R (https://openscicode.org/b/oscr:b:BDAMKD5KTRVQ5-R)
src/yasa/detection.py, lines 1617 to 1663, in github.com/raphaelvallat/yasa (https://github.com/raphaelvallat/yasa), commit 6a822164ee9caab51d9a932f642015252de21b82.
Paper: https://doi.org/10.1038/s41526-021-00177-1
SWHID: swh:1:cnt:b0125dcbd6f08e71a2fcd5913727f01dad1b7cb9;origin=https://github.com/raphaelvallat/yasa;anchor=swh:1:rev:6a822164ee9caab51d9a932f642015252de21b82;path=/src/yasa/detection.py;lines=1617-1663