Published August 15, 2024 | Version v1

Data & Code for "The Non-Opponent Nature of Colour Afterimages"

Description

This repository (https://zenodo.org/uploads/13328099) accompanies the article "The Non-Opponent Nature of Colour Afterimages" (Witzel, 2025, Communications Psychology, 10.1038/s44271-025-00331-5). This repository is linked to a github repository (https://github.com/christophWit/The-Non-Opponent-Nature-of-Colour-Afterimages), where the Matlab files contained in the zip folder here. The explanations about how to use those files are provided in github and provided in the document "How2MatlabCode" here. Additional files provided here:

ANIMATIONS:

The four animations that are part of the article are uploaded here. An explanation about how to use them is provided in the supplementary material of the article.

SLIDES:

(1) Stimulus displays and animations are also provided as ppt-slides (Slides with Animations.pptx).

(2) The slides from my talk at ECVP 2025 in Mainz are also provided.

DATA FILES:

Data is available in Matlab (.mat) and Excel (.xlsx) format. In Matlab, the files rawdata.mat and aggdata.mat contain the raw data and the aggregated data, respectively. They are the same as those provided in Github and in the zip-file. Data from difference experiments and sub-experiments is separated by different variables in Matlab Structure format, Exp1a, Exp1b, etc, and AGG1a, AGG1b, etc. For rawdata.mat, different variables of a structure contain information about participants (pps), stimuli (stimuli), afterimage data (main), and other data (e.g., non-illusory matches in discrim and typical colours in typi in Exp1a). Data is organised as a list in table-format.

The Excel files provide only the raw data. Each table (Experiment1, Experiment2, Experiment3, and Naming and Munsell chips) contains the data for a whole experiment as described in the main article, including the subversions of that experiment. Naming and Munsell chips provide the naming data and the Munsell chips described in the article. Apart from this, the data is organised in the same way as the Matlab data.

DATA ORGANISATION

Raw data involves the following main variables in columns:

pp = Participant nr; the participant label can be retrieved from the "pps" table.

ss = Experimental session.

bk = Block within the session (if there are several blocks per session, e.g., in Exp1a); note that the blocks of a participant be distributed across several conditions/experiments.

trial = trial number within the block.

col = inducer colour nr; the coordinates of the inducer may be found in the "stimuli" variable.

adaptLuv or inducer = The colour coordinates of the inducer. They provide lightness, hue and chroma in Experiment 1, and lightness, opponent axes (u*, v*), hue and chroma in Experiments 2-3.

pos = refers to the position of the wedge along the ring of comparison colours in Experiment 1; as the position was randomised, it is not relevant for the analyses.

resp and resp_hue = refers to the comparison colour chosen in Experiment1; resp gives the number of the selected comparison, resp_hue the corresponding hue of the selected comparison.

rt = response time in seconds.

adj_Luv = These are the coordinates of the adjusted colour in Experiments 2-3 instead of the responses resp and resp_hue in Experiment 1. Coordinates are provided as for the Inducer: (1) Lightness, (2) u*, (3) u*, (4) hue, and (5) chroma.

Files

How2MatlabCode.pdf

Files (54.0 MB)

Name Size Download all
md5:76e7398d76b828d6215b6c107510306d
3.7 MB Download
md5:40219bd2bc40c6e095bb56d1ea166e5f
307.9 kB Download
md5:b2d19baf485916d930633e753de7c6f9
1.2 MB Download
md5:82f62fc42a8a55333f678e8cf29780d8
556.8 kB Download
md5:a23c59cce1beafff9a22ee8770c07dc0
109.0 kB Preview Download
md5:7663f20eeefc91241d4a8d1c8bed1342
14.6 MB Preview Download
md5:1bb4b33e4cda3f888b74fb140f53cf8a
506.1 kB Download
md5:9a3ca46ec12fafbcc88cfad6a291a665
1.2 MB Download
md5:ff26fd0cee31a0dc0f34c3f33cca9cd6
2.4 MB Download
md5:9ba5d8943878487ef1a2f07a0d4b04b4
29.4 MB Download

Additional details

Related works

Is referenced by
Publication: 10.1038/s44271-025-00331-5 (DOI)

Funding

Deutsche Forschungsgemeinschaft
TRR 135: Cardinal mechanisms of perception: Prediction, Valuation, Categorization 222641018

Dates

Available
2025-11-01

Software