OSCR

Block oscr:b:AJK2WV3QRVJAN-X

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:AJK2WV3QRVJAN-X
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1016/j.neuron.2023.03.034 · its page here
Code
github.com/philshams/behavior-opto-analysis, opto_analysis/analyze/analysis_funcs.py, lines 17 to 31 (get_escape_target_score)
Commit read
df43db92fe79c2a2bec02e1df1b765bb252ac7b7
SWHID
swh:1:cnt:3861a509b2c65b10a1efaa8812e0a40e0d8323d1;origin=https://github.com/philshams/behavior-opto-analysis;anchor=swh:1:rev:df43db92fe79c2a2bec02e1df1b765bb252ac7b7;path=/opto_analysis/analyze/analysis_funcs.py;lines=17-31 (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 100 (STAR★Methods › Quantification and statistical analysis › Initiation set analysis); paragraph 13 (Results › Interrupting spontaneous edge-vector runs abolishes subgoal learning)
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:AJK2WV3QRVJAN-X (https://openscicode.org/b/oscr:b:AJK2WV3QRVJAN-X)
opto_analysis/analyze/analysis_funcs.py, lines 17 to 31, in github.com/philshams/behavior-opto-analysis (https://github.com/philshams/behavior-opto-analysis), commit df43db92fe79c2a2bec02e1df1b765bb252ac7b7.
Paper: https://doi.org/10.1016/j.neuron.2023.03.034
SWHID: swh:1:cnt:3861a509b2c65b10a1efaa8812e0a40e0d8323d1;origin=https://github.com/philshams/behavior-opto-analysis;anchor=swh:1:rev:df43db92fe79c2a2bec02e1df1b765bb252ac7b7;path=/opto_analysis/analyze/analysis_funcs.py;lines=17-31