[FieldTrip] how to combining gradiometer/magnetometer sensors - neuromag(elekta) data

bagen hasi hasibagenedu at gmail.com
Wed Apr 27 11:07:24 CEST 2022

Does anyone know how to use fieldtrip to merge two separate files (mag,
grad) back into one?
I did grad and mag separately and saved them separately when I was doing
But now I want to do source positioning, and I want to use all channels
together for source positioning, how do I merge grad and mag back into one

Can I just merge the Matlab structure of grad and mag files? Will some
information be lost this way?

This is my previous code

%% magnetometers ICA
cfg=[]; cfg.channel={'MEG*1'};
save(['sub2019' subjectID{x} '_origmag.mat'],'data_orig', '-v7.3');

%% planar gradiometers ICA
cfg=[]; cfg.channel={'MEG*2','MEG*3'};
save(['sub2019' subjectID{x} '_origgrad.mat'],'data_orig', '-v7.3');

I searched a previous question, but I didn't find in it exactly how to do
this, and I also searched the fieldtrip GitHub site, but I didn't find the
relevant statements either.


I was wondering if you could help me with this?

Thank you for your time and I look forward to hearing from you soon!

Best regards,
Hasi Bagen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20220427/314baf3c/attachment.htm>

More information about the fieldtrip mailing list