OSCR

Block oscr:b:SADNEY213CXNC-S

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:SADNEY213CXNC-S
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1126/sciadv.adi1480 · its page here
Code
github.com/fangwei123456/spikingjelly, spikingjelly/activation_based/ann2snn/recipes/rate_coding.py, lines 264 to 377 (RateCodingRecipe.__init__)
Commit read
279f0bddf88e4d7f63e5bb423912881997bba783
SWHID
swh:1:cnt:0334f29e28fef281d97a9ed7ebdaa90c0b764992;origin=https://github.com/fangwei123456/spikingjelly;anchor=swh:1:rev:279f0bddf88e4d7f63e5bb423912881997bba783;path=/spikingjelly/activation_based/ann2snn/recipes/rate_coding.py;lines=264-377 (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 71 (MATERIALS AND METHODS › Functional modules › Conversion methods)
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:SADNEY213CXNC-S (https://openscicode.org/b/oscr:b:SADNEY213CXNC-S)
spikingjelly/activation_based/ann2snn/recipes/rate_coding.py, lines 264 to 377, in github.com/fangwei123456/spikingjelly (https://github.com/fangwei123456/spikingjelly), commit 279f0bddf88e4d7f63e5bb423912881997bba783.
Paper: https://doi.org/10.1126/sciadv.adi1480
SWHID: swh:1:cnt:0334f29e28fef281d97a9ed7ebdaa90c0b764992;origin=https://github.com/fangwei123456/spikingjelly;anchor=swh:1:rev:279f0bddf88e4d7f63e5bb423912881997bba783;path=/spikingjelly/activation_based/ann2snn/recipes/rate_coding.py;lines=264-377