sccn / eeglab

EEGLAB is an open source signal processing environment for electrophysiological signals running on Matlab and developed at the SCCN/UCSD
https://eeglab.ucsd.edu/
Other
604 stars 244 forks source link

error in function fmrib_fastr() at line 758 #195

Closed guangyuanzou closed 4 years ago

guangyuanzou commented 4 years ago

Description

EEGLAB error in function fmrib_fastr() at line 758: Index exceeds matrix dimensions.


Steps to Reproduce

  1. load data using load_bv
  2. EEG=pop_fmrib_fastr(EEG,0,4,30,'R128',0,0,0,0,0,0.03,[],'auto')
  3. I found that there was no error after I changed the averaging window length from 30 to 60, but I don't know why. There were 3 parts of MR artifacts in the EEG data (i.e., three MR sessions, but a single EEG file). Is that a problem?


Versions

OS version Ubuntu/Linaro 4.6.3-1ubuntu5
Matlab version 2016b
EEGLAB version 14_1_1b/2020_0
arnodelorme commented 4 years ago

I am not sure about that. This is an old plugin that is no longer maintained (except for new Matlab version compatibilities). I do not think that having multiple MR artifacts in the EEG data is a problem. Maybe look at the Neuroimage paper describing the plugin.