The Computational Psychiatry Lab

View the Project on GitHub

Surprise response as a probe for compressed memory states

This code accompanies the data published with the paper:

Levi-Aharoni H, Shriki O, Tishby N (2020) Surprise response as a probe for compressed memory states. PLOS Computational Biology 16(2): e1007065.

The data can be downloaded directly from here.

After running this code on a dataset you will have the following arrays:

If using the corresponding stimSeq file, note that in a few datasets there are ~1-2 trials missing (missed triggers) and should be taken care of (should be manually removed in the analysis)

Example:

load('S1\Data_S1.mat')
prepare_data_and_triggers_P300Dataset;