Code was used for the StateSwitch study at the Max Planck Institute for Human Development.
The experiment was implemented in Psychtoolbox for EEG and MRI and is provided without guarantee that it works in any other setting than the one intended.
Results from the experiment have been published in
Kosciessa, J.Q., Lindenberger, U. & Garrett, D.D. Thalamocortical excitability modulation guides human perception under uncertainty. Nature Communications 12, 2430 (2021). https://doi.org/10.1038/s41467-021-22511-7
### Session components
During the EEG session the following programs were run: