OSCR

Block oscr:b:1HA9W6ZYRFD2D-U

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:1HA9W6ZYRFD2D-U
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1038/s44271-025-00331-5 · its page here
Code
github.com/christophwit/the-non-opponent-nature-of-colour-afterimages, functions/complementary_calculator.m, lines 1 to 96 (complementary_calculator)
Commit read
8901e132b6536a5b1333e7f8ba02bf14925e3a94
SWHID
swh:1:cnt:2f5d8b86b46a972ba17d396622b07e12b4746fbb;origin=https://github.com/christophwit/the-non-opponent-nature-of-colour-afterimages;anchor=swh:1:rev:8901e132b6536a5b1333e7f8ba02bf14925e3a94;path=/functions/complementary_calculator.m;lines=1-96 (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 28 (Methods › Adaptation of colour appearance); paragraph 8 (Methods › Experiment 1: Fixed-Location Afterimages › Stimuli)
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:1HA9W6ZYRFD2D-U (https://openscicode.org/b/oscr:b:1HA9W6ZYRFD2D-U)
functions/complementary_calculator.m, lines 1 to 96, in github.com/christophwit/the-non-opponent-nature-of-colour-afterimages (https://github.com/christophwit/the-non-opponent-nature-of-colour-afterimages), commit 8901e132b6536a5b1333e7f8ba02bf14925e3a94.
Paper: https://doi.org/10.1038/s44271-025-00331-5
SWHID: swh:1:cnt:2f5d8b86b46a972ba17d396622b07e12b4746fbb;origin=https://github.com/christophwit/the-non-opponent-nature-of-colour-afterimages;anchor=swh:1:rev:8901e132b6536a5b1333e7f8ba02bf14925e3a94;path=/functions/complementary_calculator.m;lines=1-96