OSCR

Block oscr:b:22YCTZ3C9F729-K

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:22YCTZ3C9F729-K
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pbio.3002128 · its page here
Code
github.com/naplab/naplib-python, naplib/encoding/banded_trf.py, lines 97 to 208 (BandedTRF.fit)
Commit read
b8b6b0a76052ac3eb60d949c3680eab861b9ea00
SWHID
swh:1:cnt:0c6b6a4690a0080df9614abcd4a71366eb852d29;origin=https://github.com/naplab/naplib-python;anchor=swh:1:rev:b8b6b0a76052ac3eb60d949c3680eab861b9ea00;path=/naplib/encoding/banded_trf.py;lines=97-208 (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 67 (Methods › Neural response prediction procedure › Banded ridge regression)
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:22YCTZ3C9F729-K (https://openscicode.org/b/oscr:b:22YCTZ3C9F729-K)
naplib/encoding/banded_trf.py, lines 97 to 208, in github.com/naplab/naplib-python (https://github.com/naplab/naplib-python), commit b8b6b0a76052ac3eb60d949c3680eab861b9ea00.
Paper: https://doi.org/10.1371/journal.pbio.3002128
SWHID: swh:1:cnt:0c6b6a4690a0080df9614abcd4a71366eb852d29;origin=https://github.com/naplab/naplib-python;anchor=swh:1:rev:b8b6b0a76052ac3eb60d949c3680eab861b9ea00;path=/naplib/encoding/banded_trf.py;lines=97-208