Code used for the stimulus and data analysis of the study "Identification of competing neural mechanisms underlying visual perceptual hysteresis: persistence vs. adaptation".
The algorithm is prepared to run at the group level. Adjust the code to be possible to run per participant or add an initial description about this point.
Section starting at line 95: add a short description about this process (example: link to the paper where it is explained in detail)
D_effectblock: MAIN_singlestudydesign.m