OSCR

Block oscr:b:G6VZ0RY52PXJ4-C

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:G6VZ0RY52PXJ4-C
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s41598-022-27350-0 · its page here
Code
github.com/bonelab/hr-pqct-segmentation, utils/error_metrics.py, lines 389 to 470 (MagnitudeGradientSDTLoss)
Commit read
9aef696a05eb875e37c5608c2ef344de6111d04c
SWHID
swh:1:cnt:d9ff5e329f7c69adc78c7c977b4c90b2c579507f;origin=https://github.com/bonelab/hr-pqct-segmentation;anchor=swh:1:rev:9aef696a05eb875e37c5608c2ef344de6111d04c;path=/utils/error_metrics.py;lines=389-470 (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 55 (Methods › Embedding-predicting U-Net › Loss functions › Magnitude gradient regul); paragraph 54 (Methods › Embedding-predicting U-Net › Loss functions › Magnitude gradient regul)
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:G6VZ0RY52PXJ4-C (https://openscicode.org/b/oscr:b:G6VZ0RY52PXJ4-C)
utils/error_metrics.py, lines 389 to 470, in github.com/bonelab/hr-pqct-segmentation (https://github.com/bonelab/hr-pqct-segmentation), commit 9aef696a05eb875e37c5608c2ef344de6111d04c.
Paper: https://doi.org/10.1038/s41598-022-27350-0
SWHID: swh:1:cnt:d9ff5e329f7c69adc78c7c977b4c90b2c579507f;origin=https://github.com/bonelab/hr-pqct-segmentation;anchor=swh:1:rev:9aef696a05eb875e37c5608c2ef344de6111d04c;path=/utils/error_metrics.py;lines=389-470