OSCR

Block oscr:b:022NHP443N6N0-H

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:022NHP443N6N0-H
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1016/j.ijchp.2025.100551 · its page here
Code
github.com/bingo1218/cpm_eeg_craving, scripts/matlab/6_CPM_train_EO.m, lines 100 to 178 (LOOCV)
Commit read
b095802b6491888859df48a0b1a01e05ca348fbd
SWHID
swh:1:cnt:8425ac9c361bc67f7edf412385f19dd5822bd6e4;origin=https://github.com/bingo1218/cpm_eeg_craving;anchor=swh:1:rev:b095802b6491888859df48a0b1a01e05ca348fbd;path=/scripts/matlab/6_CPM_train_EO.m;lines=100-178 (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 16 (Materials and methods › CPM for methamphetamine craving)
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:022NHP443N6N0-H (https://openscicode.org/b/oscr:b:022NHP443N6N0-H)
scripts/matlab/6_CPM_train_EO.m, lines 100 to 178, in github.com/bingo1218/cpm_eeg_craving (https://github.com/bingo1218/cpm_eeg_craving), commit b095802b6491888859df48a0b1a01e05ca348fbd.
Paper: https://doi.org/10.1016/j.ijchp.2025.100551
SWHID: swh:1:cnt:8425ac9c361bc67f7edf412385f19dd5822bd6e4;origin=https://github.com/bingo1218/cpm_eeg_craving;anchor=swh:1:rev:b095802b6491888859df48a0b1a01e05ca348fbd;path=/scripts/matlab/6_CPM_train_EO.m;lines=100-178