Block oscr:b:KJ7NRJ2H93B4R-G
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:KJ7NRJ2H93B4R-G- Status
- Current: the registry links these lines to the paper today.
- Paper
- doi:10.1038/s41592-022-01687-w · its page here
- Code
- github.com/willtownes/spatial-factorization-py,
spatial_factorization/utils/postprocess.py, lines 40 to 61 (interpret_nonneg) - Commit read
c8d693ae7442f72a2b58afeed96ca820d710d1f2- SWHID
swh:1:cnt:0f3477a16a5a6260189ea7e189a6aae6577cb9fd;origin=https://github.com/willtownes/spatial-factorization-py;anchor=swh:1:rev:c8d693ae7442f72a2b58afeed96ca820d710d1f2;path=/spatial_factorization/utils/postprocess.py;lines=40-61(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 60 (Methods › Postprocessing nonnegative factorizations)
- 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:KJ7NRJ2H93B4R-G (https://openscicode.org/b/oscr:b:KJ7NRJ2H93B4R-G)
spatial_factorization/utils/postprocess.py, lines 40 to 61, in github.com/willtownes/spatial-factorization-py (https://github.com/willtownes/spatial-factorization-py), commit c8d693ae7442f72a2b58afeed96ca820d710d1f2.
Paper: https://doi.org/10.1038/s41592-022-01687-w
SWHID: swh:1:cnt:0f3477a16a5a6260189ea7e189a6aae6577cb9fd;origin=https://github.com/willtownes/spatial-factorization-py;anchor=swh:1:rev:c8d693ae7442f72a2b58afeed96ca820d710d1f2;path=/spatial_factorization/utils/postprocess.py;lines=40-61