[FieldTrip] MEG grad data after ICA cleaning

Frédéric Roux f.roux at bcbl.eu
Wed Mar 5 16:28:58 CET 2014

Dear all,

I am using ICA to clean my MEG-data before source analysis.

My code looks as follows:

cfg = [];
cfg.component = [comp_idx];

meg_data = ft_rejectcomponent(cfg,comp,meg_data);

However, after the call to ft_rejectcomponent there is no grad field in
the meg_data structure. Rather, the grad field ist located under

Is this the grad-field that I am supposed to use further downstream in the
analysis pipeline, or should there be a grad-field under meg_data.grad?

Any help would be much appreciated.


More information about the fieldtrip mailing list