OSCR

Block oscr:b:NJSK1F4AW0JN3-T

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:NJSK1F4AW0JN3-T
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41588-024-01664-3 · its page here
Code
zenodo:10258795, banksy-Python_scripts.zip/banksy/main.py, lines 147 to 238 (generate_spatial_weights_fixed_nbrs)
SWHID
swh:1:cnt:90656dfdb05bc35a9cc6755e68b44a3c06992eab;origin=https://zenodo.org/records/10258795;path=/banksy-Python_scripts.zip/banksy/main.py;lines=147-238 (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 54 (Methods › The BANKSY algorithm)
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:NJSK1F4AW0JN3-T (https://openscicode.org/b/oscr:b:NJSK1F4AW0JN3-T)
banksy-Python_scripts.zip/banksy/main.py, lines 147 to 238, in zenodo:10258795 (https://zenodo.org/records/10258795).
Paper: https://doi.org/10.1038/s41588-024-01664-3
SWHID: swh:1:cnt:90656dfdb05bc35a9cc6755e68b44a3c06992eab;origin=https://zenodo.org/records/10258795;path=/banksy-Python_scripts.zip/banksy/main.py;lines=147-238