OSCR

Block oscr:b:VZ7BFK12Z2M23-J

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:VZ7BFK12Z2M23-J
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41467-026-76581-6 · its page here
Code
github.com/alleninstitute/ecephys_spike_sorting, ecephys_spike_sorting/modules/quality_metrics/metrics.py, lines 20 to 157 (calculate_metrics)
Commit read
919992748a5324724ba87169ecdcf9eb6e3b9973
SWHID
swh:1:cnt:d3e9e511d70e191546c4c2672a3d0a546c7b5edb;origin=https://github.com/alleninstitute/ecephys_spike_sorting;anchor=swh:1:rev:919992748a5324724ba87169ecdcf9eb6e3b9973;path=/ecephys_spike_sorting/modules/quality_metrics/metrics.py;lines=20-157 (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 58 (Methods › Electrophysiological 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:VZ7BFK12Z2M23-J (https://openscicode.org/b/oscr:b:VZ7BFK12Z2M23-J)
ecephys_spike_sorting/modules/quality_metrics/metrics.py, lines 20 to 157, in github.com/alleninstitute/ecephys_spike_sorting (https://github.com/alleninstitute/ecephys_spike_sorting), commit 919992748a5324724ba87169ecdcf9eb6e3b9973.
Paper: https://doi.org/10.1038/s41467-026-76581-6
SWHID: swh:1:cnt:d3e9e511d70e191546c4c2672a3d0a546c7b5edb;origin=https://github.com/alleninstitute/ecephys_spike_sorting;anchor=swh:1:rev:919992748a5324724ba87169ecdcf9eb6e3b9973;path=/ecephys_spike_sorting/modules/quality_metrics/metrics.py;lines=20-157