OSCR

Block oscr:b:NPGFGEJQWJ2J7-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:NPGFGEJQWJ2J7-J
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s42003-024-06784-4 · its page here
Code
github.com/ewinapun/mindful, utils/dist_metrics/CalcWasserstein.m, lines 1 to 34 (CalcWasserstein)
Commit read
1809e132549f3c4b03327e3a14c748927d765e6e
SWHID
swh:1:cnt:42b44a15233aa057b4ed8daa5c41b9a6985d14fb;origin=https://github.com/ewinapun/mindful;anchor=swh:1:rev:1809e132549f3c4b03327e3a14c748927d765e6e;path=/utils/dist_metrics/CalcWasserstein.m;lines=1-34 (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 47 (Methods › Kullback–Leibler divergence (KLD))
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:NPGFGEJQWJ2J7-J (https://openscicode.org/b/oscr:b:NPGFGEJQWJ2J7-J)
utils/dist_metrics/CalcWasserstein.m, lines 1 to 34, in github.com/ewinapun/mindful (https://github.com/ewinapun/mindful), commit 1809e132549f3c4b03327e3a14c748927d765e6e.
Paper: https://doi.org/10.1038/s42003-024-06784-4
SWHID: swh:1:cnt:42b44a15233aa057b4ed8daa5c41b9a6985d14fb;origin=https://github.com/ewinapun/mindful;anchor=swh:1:rev:1809e132549f3c4b03327e3a14c748927d765e6e;path=/utils/dist_metrics/CalcWasserstein.m;lines=1-34