[FieldTrip] converting magnetometers

victoria schroeder vic.schroeder2 at gmail.com
Mon Nov 16 17:16:46 CET 2015


Hello,

Is it possible to convert magnetometers to pseudo-gradiometers to create
planar gradients? We are working with Neuromag data. The following code
does not work, since i get the error message that ft_megplanar() does not
function with neuromag data.

cfg              = [];
cfg.feedback     = 'no';
cfg.method       = 'distance';
cfg.planarmethod = 'sincos';
cfg.channel      = {'MEGMAG'};
cfg.trials       = 'all';
cfg.neighbours   = ft_prepare_neighbours(cfg, rspdata);
data_mag      = ft_megplanar(cfg,rspdata);

Cheers
Victoria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20151116/820396b8/attachment-0001.html>


More information about the fieldtrip mailing list