OSCR

Block oscr:b:WBM56EJ4TJH42-4

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:WBM56EJ4TJH42-4
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-026-73818-2 · its page here
Code
github.com/dpalmer9/photobatch, photobatch/Processing/Signal/fitting.py, lines 53 to 99 (_linear_fit)
Commit read
25f8e4a52a4e2b9911fe59895be8f9dc33f7cb6f
SWHID
swh:1:cnt:9fc6eab4f79cd37190609d9bbe19b8602407b77a;origin=https://github.com/dpalmer9/photobatch;anchor=swh:1:rev:25f8e4a52a4e2b9911fe59895be8f9dc33f7cb6f;path=/photobatch/Processing/Signal/fitting.py;lines=53-99 (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 38 (Methods › Fiber photometry analysis)
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:WBM56EJ4TJH42-4 (https://openscicode.org/b/oscr:b:WBM56EJ4TJH42-4)
photobatch/Processing/Signal/fitting.py, lines 53 to 99, in github.com/dpalmer9/photobatch (https://github.com/dpalmer9/photobatch), commit 25f8e4a52a4e2b9911fe59895be8f9dc33f7cb6f.
Paper: https://doi.org/10.1038/s41467-026-73818-2
SWHID: swh:1:cnt:9fc6eab4f79cd37190609d9bbe19b8602407b77a;origin=https://github.com/dpalmer9/photobatch;anchor=swh:1:rev:25f8e4a52a4e2b9911fe59895be8f9dc33f7cb6f;path=/photobatch/Processing/Signal/fitting.py;lines=53-99