OSCR

Block oscr:b:9NHS803GCC7E5-D

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:9NHS803GCC7E5-D
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/spectral.py, lines 285 to 349 (bandpower_from_psd)
Commit read
6a822164ee9caab51d9a932f642015252de21b82
SWHID
swh:1:cnt:1986e8016997e6ec16bda13d38863213bda1e493;origin=https://github.com/raphaelvallat/yasa;anchor=swh:1:rev:6a822164ee9caab51d9a932f642015252de21b82;path=/src/yasa/spectral.py;lines=285-349 (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 58 (Methods › Spectral band-power estimation)
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:9NHS803GCC7E5-D (https://openscicode.org/b/oscr:b:9NHS803GCC7E5-D)
src/yasa/spectral.py, lines 285 to 349, 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:1986e8016997e6ec16bda13d38863213bda1e493;origin=https://github.com/raphaelvallat/yasa;anchor=swh:1:rev:6a822164ee9caab51d9a932f642015252de21b82;path=/src/yasa/spectral.py;lines=285-349