OSCR

Block oscr:b:JNPZSJNSGY6N5-2

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:JNPZSJNSGY6N5-2
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.3389/fpsyg.2022.958787 · its page here
Code
github.com/bbonik/retinal-contrast-glare, python/retinal_contrast.py, lines 239 to 318 (compute_retinal_contrast)
Commit read
ede03dda94b2a4351b30969772dc6746edf40878
SWHID
swh:1:cnt:d1bf230c503f645bc89f6c3e3dc234d819c33972;origin=https://github.com/bbonik/retinal-contrast-glare;anchor=swh:1:rev:ede03dda94b2a4351b30969772dc6746edf40878;path=/python/retinal_contrast.py;lines=239-318 (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 44 (Methods and materials: Calculating and analyzing intraocular glare › Optical gla); paragraph 66 (Methods and materials: Calculating and analyzing intraocular glare › Visual insp)
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:JNPZSJNSGY6N5-2 (https://openscicode.org/b/oscr:b:JNPZSJNSGY6N5-2)
python/retinal_contrast.py, lines 239 to 318, in github.com/bbonik/retinal-contrast-glare (https://github.com/bbonik/retinal-contrast-glare), commit ede03dda94b2a4351b30969772dc6746edf40878.
Paper: https://doi.org/10.3389/fpsyg.2022.958787
SWHID: swh:1:cnt:d1bf230c503f645bc89f6c3e3dc234d819c33972;origin=https://github.com/bbonik/retinal-contrast-glare;anchor=swh:1:rev:ede03dda94b2a4351b30969772dc6746edf40878;path=/python/retinal_contrast.py;lines=239-318