sccn / clean_rawdata

Cleaning Raw EEG data
GNU General Public License v3.0
43 stars 17 forks source link

Unsolved mystery using average reference #45

Open arnodelorme opened 1 year ago

arnodelorme commented 1 year ago

Import this dataset.

Do average reference. Apply clean_rawdata with the default but changing the filter to 0.75 to 1.25 Hz. The resulting dataset crash because ASR rejection is too aggressive (331 samples left).

However, if you do not apply average reference with the same settings, then the size is 16000 samples. Also, if you use the default 0.25 to 0.75 filter, the size is 16000 (even with average reference).

options = {'FlatlineCriterion',5,'ChannelCriterion',0.85, ...
            'LineNoiseCriterion',4,'Highpass',[0.75 1.25] ,'BurstCriterion',20, ...
            'WindowCriterion',0.25,'BurstRejection','on','Distance','Euclidian', ...
            'WindowCriterionTolerances',[-Inf 7] ,'fusechanrej',1};
pop_clean_rawdata(EEG, options{:});

There must be some weird problems in ASR and interaction between the average reference and HP filter. Need further investigation by a motivated soul.

arnodelorme commented 1 year ago

https://drive.google.com/drive/folders/1DW6qAX6noZDiE2Gr3fmc58DgGwntGIwz?usp=share_link