[FieldTrip] Compensation for maxfilter in source analysis?

Seymour, Robert (Research Student) seymourr at aston.ac.uk
Thu Jul 21 17:06:06 CEST 2016

Hi Peter,

Would also be interested in the answer to your first question - it is not clear how Fieldtrip combines MAGS+GRADS using ft_sourceanalysis/ft_prepareleadfield.

For your second question I don't think there is a 'right' answer & it depends how aggressively you've Maxfiltered... as a rule of thumb, this is the code I use:

cfg = [];
cfg.method = 'pca';
cfg.updatesens = 'no';
cfg.channel = 'MEGMAG';
comp = ft_componentanalysis(cfg, data);

cfg = [];
cfg.updatesens = 'no';
cfg.component = comp.label(51:end);
data_fix = ft_rejectcomponent(cfg, comp);


Robert Seymour (PhD Student, Aston Brain Centre)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160721/f9b39e7a/attachment-0001.html>

More information about the fieldtrip mailing list