ECG artifact with MEG data

Virginie van Wassenhove vvw at CALTECH.EDU
Thu Jul 30 10:39:55 CEST 2009

Hi everyone, 

I am testing the ECG artifact removal using the ICA method described here:

At the stage where freqanalysis is to be computed on the components
comp_ecg, I encounter this error, anyone else has experienced such issue?

the input is component data with 204 components and 204 original channels
??? Error using ==> checkdata at 388
This function requires raw data as input.

Error in ==> freqanalysis at 165
data = checkdata(data, 'datatype', 'raw', 'feedback', 'yes', 'hasoffset',

Thanks in advance,

The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also and

More information about the fieldtrip mailing list