This repository contains the code and data for the manuscript "Reference induces biases in late visual processing".
Codes
The programming requires Psychopy (ideally v2020.1 or newer versions) and Python 3.7.
File structure
Directory
│
|
└───config
| | monitor_settings_VPixx.yaml monitor settings of VPixx
| | config.yaml experiment configuration
| | params_noise_mix.yaml experiment stimulus parameter
│ └───
|
└───data
| | dat.csv all data for the main experiment
| | dat_E_rep.csv supplementary data (dual-task condition, reference was presented throughout the whole trial)
| | dat_I_rep.csv supplementary data (singal-task condition)
│ └───s00 directory for data of subject s00
| | s00.yaml subject activity log YAML file, as a record of all blocks
│ └───raw_data
| └───s00_20200000T0000.yaml single block raw data YAML
|
└───exp directory for scripts for experiments
| | exp.py experiment script
| | write_data.py write data to YAML files
| └──
|
└───data analysis directory for data analysis scripts and results
| | load_data.py read and load data from YAML files
| | curvefit_mixgamma directory for distribution fitting results
| | recover_model_diff_weightf.py modeling script
| | recover_model_v4 directory for modeling results
| └───
|
└───manuscript directory for manuscript
| | figures directory for manuscript raw figures
| | MFigures directory for manuscript final figures
| └──
|
└───plot_manuscript_figures.ipynb Jupyter notebook for plotting manuscript figures