OSCR

Block oscr:b:2FBGV7VGFXQPF-0

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:2FBGV7VGFXQPF-0
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1012804 · its page here
Code
github.com/cinpla/spatial-maps, src/spatial_maps/gridcells.py, lines 117 to 173 (gridness)
Commit read
8f946c7439fd3cf36fd25fe986904c97b0648c8b
SWHID
swh:1:cnt:15cec226af3ae0833a0e8d4cd8551d246b175ae5;origin=https://github.com/cinpla/spatial-maps;anchor=swh:1:rev:8f946c7439fd3cf36fd25fe986904c97b0648c8b;path=/src/spatial_maps/gridcells.py;lines=117-173 (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 89 (Methods › Grid score)
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:2FBGV7VGFXQPF-0 (https://openscicode.org/b/oscr:b:2FBGV7VGFXQPF-0)
src/spatial_maps/gridcells.py, lines 117 to 173, in github.com/cinpla/spatial-maps (https://github.com/cinpla/spatial-maps), commit 8f946c7439fd3cf36fd25fe986904c97b0648c8b.
Paper: https://doi.org/10.1371/journal.pcbi.1012804
SWHID: swh:1:cnt:15cec226af3ae0833a0e8d4cd8551d246b175ae5;origin=https://github.com/cinpla/spatial-maps;anchor=swh:1:rev:8f946c7439fd3cf36fd25fe986904c97b0648c8b;path=/src/spatial_maps/gridcells.py;lines=117-173