hi there,
please could you help me deal with a small error? I am trying to remove blink confounds from an EEG dataset using the artefact removal tool 'eyeblink'. This works as long as all of the 32 channels are set as 'EEG' and not as 'bad', but if I remove one channel, either by setting it to 'other' or to 'bad' the script crashes at the 'correct spatial confounds' stage. The error message is
PM12: spm_eeg_montage (v7169) 11:43:31 - 10/02/2020
========================================================================
10-Feb-2020 11:43:32 - Failed 'Correct sensor data'
Index exceeds the number of array elements (31).
In file "/usr/local/software/spm/spm12/external/fieldtrip/forward/ft_apply_montage.m" (???), function "ft_apply_montage" at line 220.
In file "/usr/local/software/spm/spm12/spm_eeg_montage.m" (v7169), function "spm_eeg_montage" at line 375.
In file "/usr/local/software/spm/spm12/spm_eeg_correct_sensor_data.m" (v7132), function "spm_eeg_correct_sensor_data" at line 141.
In file "/usr/local/software/spm/spm12/config/spm_cfg_eeg_correct_sensor_data.m" (v6029), function "eeg_correct" at line 50.
The following modules did not run:
Failed: Correct sensor data
thank you! Deborah
|