OSCR

Block oscr:b:SNN2NJVCPXPFC-F

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:SNN2NJVCPXPFC-F
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1012019 · its page here
Code
github.com/cjarvers/shapelearningtheory, shapelearningtheory/textures.py, lines 56 to 62 (HorizontalGrating)
Commit read
8e227d4b055765b016638005810007e252b83ada
SWHID
swh:1:cnt:cd820446eaaa89a8cc2ba1375d6a88596a5f31bd;origin=https://github.com/cjarvers/shapelearningtheory;anchor=swh:1:rev:8e227d4b055765b016638005810007e252b83ada;path=/shapelearningtheory/textures.py;lines=56-62 (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 90 (Materials and methods › Datasets › Striped rectangles)
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:SNN2NJVCPXPFC-F (https://openscicode.org/b/oscr:b:SNN2NJVCPXPFC-F)
shapelearningtheory/textures.py, lines 56 to 62, in github.com/cjarvers/shapelearningtheory (https://github.com/cjarvers/shapelearningtheory), commit 8e227d4b055765b016638005810007e252b83ada.
Paper: https://doi.org/10.1371/journal.pcbi.1012019
SWHID: swh:1:cnt:cd820446eaaa89a8cc2ba1375d6a88596a5f31bd;origin=https://github.com/cjarvers/shapelearningtheory;anchor=swh:1:rev:8e227d4b055765b016638005810007e252b83ada;path=/shapelearningtheory/textures.py;lines=56-62