OSCR

Block oscr:b:1XJWF9SWY551Q-B

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:1XJWF9SWY551Q-B
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41597-024-03058-w · its page here
Code
github.com/pnlbwh/cnn-diffusion-mribrain-segmentation, pipeline/dwi_masking.py, lines 254 to 345 (npy_to_nifti)
Commit read
d7fe0fd4976c2d5a3489526f75d2a00dae3e1fe1
SWHID
swh:1:cnt:882c282a2584c6f13002c2fc532f6476aa2b2d99;origin=https://github.com/pnlbwh/cnn-diffusion-mribrain-segmentation;anchor=swh:1:rev:d7fe0fd4976c2d5a3489526f75d2a00dae3e1fe1;path=/pipeline/dwi_masking.py;lines=254-345 (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 22 (Methods › Convolutional Neural Network (CNN) DMRI Brain Segmentation: A prerequi); paragraph 21 (Methods › Convolutional Neural Network (CNN) DMRI Brain Segmentation: A prerequi)
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:1XJWF9SWY551Q-B (https://openscicode.org/b/oscr:b:1XJWF9SWY551Q-B)
pipeline/dwi_masking.py, lines 254 to 345, in github.com/pnlbwh/cnn-diffusion-mribrain-segmentation (https://github.com/pnlbwh/cnn-diffusion-mribrain-segmentation), commit d7fe0fd4976c2d5a3489526f75d2a00dae3e1fe1.
Paper: https://doi.org/10.1038/s41597-024-03058-w
SWHID: swh:1:cnt:882c282a2584c6f13002c2fc532f6476aa2b2d99;origin=https://github.com/pnlbwh/cnn-diffusion-mribrain-segmentation;anchor=swh:1:rev:d7fe0fd4976c2d5a3489526f75d2a00dae3e1fe1;path=/pipeline/dwi_masking.py;lines=254-345