[FieldTrip] Separating MEG/EEG data

Wong-Barnum, Mona mona at sdsc.edu
Wed Oct 19 18:42:58 CEST 2016


Thanks Stephen, your code was very helpful (:

My data has 2 gradiometers but it appears that there is only a single megplanar channel type.  Is there a way to further separate the 2 gradiometers?

Mona


On Oct 18, 2016, at 10:22 PM, Stephen Whitmarsh <stephen.whitmarsh at gmail.com<mailto:stephen.whitmarsh at gmail.com>> wrote:

Hi Mona,

To add to Tzvetan:

- You can in many FieldTrip functions specify on which channels you want to work (cfg.channel), e.g. in ft_preprocessing.
- You can also split the data later using ft_selectdata, e.g.:

cfg = []
cfg.channel = 'MEG';
data_MEG = ft_selectdata(cfg,data_combined);

cfg = []
cfg.channel = 'EEG';
data_EEG = ft_selectdata(cfg,data_combined);

- To selecting magnetometers or gradiometers you can use:
cfg.channel = 'MEG*1'
cfg.channel = {'MEG*2', 'MEG*3'}

Cheers,
Stephen


On 19 October 2016 at 01:17, Wong-Barnum, Mona <mona at sdsc.edu<mailto:mona at sdsc.edu>> wrote:

        I have Elekta Neuromag .fif files which contains MEG and EEG data.  What steps do I need to do to separate the MEG from EEG and the 3 different MEG sensor data (magnetometer, 2 gradiometer)?

        I have been looking through the FieldTrip documentation but haven’t found what I need.  All help is appreciated.

thanks,
Mona


*********************************************
    Mona Wong
    Web & iPad Application Developer
    San Diego Supercomputer Center

    "Strive not to be a success, but
    rather to be of value."
                                --- Albert Einstein
*********************************************


_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

*********************************************
    Mona Wong
    Web & iPad Application Developer
    San Diego Supercomputer Center

    "To handle yourself, use your head;
    to handle others, use your heart."

-- Eleanor Roosevelt
*********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20161019/31394db4/attachment-0002.html>


More information about the fieldtrip mailing list