OSCR

Block oscr:b:CBB2GMKPRGXFZ-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:CBB2GMKPRGXFZ-F
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pcbi.1012053 · its page here
Code
github.com/bantin/phorc, phorc/simulation/experiment_sim.py, lines 12 to 98 (add_photocurrents_to_expt)
Commit read
0164ea530fbb26854ff074f5180668eb6033eb8d
SWHID
swh:1:cnt:c5fabb65ed7f44a47e8baa13297e0754100b4670;origin=https://github.com/bantin/phorc;anchor=swh:1:rev:0164ea530fbb26854ff074f5180668eb6033eb8d;path=/phorc/simulation/experiment_sim.py;lines=12-98 (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 167 (Materials and methods › Validation with hybrid data)
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:CBB2GMKPRGXFZ-F (https://openscicode.org/b/oscr:b:CBB2GMKPRGXFZ-F)
phorc/simulation/experiment_sim.py, lines 12 to 98, in github.com/bantin/phorc (https://github.com/bantin/phorc), commit 0164ea530fbb26854ff074f5180668eb6033eb8d.
Paper: https://doi.org/10.1371/journal.pcbi.1012053
SWHID: swh:1:cnt:c5fabb65ed7f44a47e8baa13297e0754100b4670;origin=https://github.com/bantin/phorc;anchor=swh:1:rev:0164ea530fbb26854ff074f5180668eb6033eb8d;path=/phorc/simulation/experiment_sim.py;lines=12-98