[FieldTrip] Separating MEG/EEG data

Stephen Whitmarsh stephen.whitmarsh at gmail.com
Wed Oct 19 07:22:17 CEST 2016


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> 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
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20161019/aebcfda4/attachment-0002.html>


More information about the fieldtrip mailing list