Closed stevenylai closed 2 years ago
Trimmed data set here: crash.zip
Your data is very very noisy (not judging :-) and there is not enough reference data. Call the function from the command line and try changing the ''BurstCriterionRefTolerances'' parameters (to -10 to 10 for example). This works for me on your data.
EEG = pop_clean_rawdata(EEG, 'FlatlineCriterion', 'off', 'ChannelCriterion', 'off', 'LineNoiseCriterion', 'off', 'Highpass', 'off', 'BurstCriterion', 20, 'WindowCriterion', 0.25, 'BurstRejection', 'off', 'Distance', 'Euclidian', 'WindowCriterionTolerances', [-50 50], 'BurstCriterionRefTolerances', [-10 10] );
I have added a more informative error message if this is the case.
Description
I got this error when I am perform auto-rejection on bad data.
My processing script is roughly as follows:
Error was raised in
pop_clean_rawdata
There are data sets from other subjects which are OK running the same script and by inspecting the channel data, I don't see anything special. The version I used is pulled from eeglab github recently (af77ddc49 updating cleanrawdata error message)
Steps to Reproduce
pop_clean_rawdata
functionExpected behavior:
Data set is cleaned successfully
Actual behavior:
An error was thrown
Versions