[FieldTrip] Montage

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Wed Dec 30 18:06:56 CET 2020


Hi Selma,

I think that what you want to achieve is explained here: https://www.fieldtriptoolbox.org/example/rereference/
Best wishes,
Jan-Mathijs


On 30 Dec 2020, at 17:29, Selma Mohammad <selmamohammad1 at gmail.com<mailto:selmamohammad1 at gmail.com>> wrote:

Hi all,

I am new to Field Trip and am having trouble applying a "double banana" montage to my data. Does anyone have any guidance for me? How should I proceed?



I run:

montage.labelold = {'C3';'C4';'O1';'O2';'A1';'A2';'Cz';'F3';'F4';'F7';'F8';'Fz';'Fp1';'Fp2';'Fpz';'P3';'P4';'Pz';'T3';'T4';'T5';'T6';'DEPTH1';'DEPTH2';'DEPTH3';'DEPTH4';'DEPTH5';'DEPTH6';'DEPTH7';'DEPTH8';'DEPTH9';'DEPTH10';'CHEST';'ABD';'FLOW';'SNORE';'DIF5';'DIF6';'POS';'DC2';'DC3';'DC4';'DC5';'DC6';'DC7';'DC8';'DC9';'DC10';'OSAT';'PR'};
montage.labelnew = {'Fp1-F7'; 'F7-T3'; 'T3-T5'; 'T5-O1'; 'Fp1-F3'; 'F3-C3'; 'C3-P3'; 'P3-O1'; 'Fp2-F8'; 'F8-T4'; 'T4-T6'; 'T6-O2'; 'F2-C2'; 'C2-P2'; 'Fp2-F4'; 'F4-C4'; 'C4-P4'; 'P4-O2'};
keepunused = 'yes';

[data] = ft_apply_montage(data_eeg, montage.labelold, montage.labelnew);




However I receive the errors:

Error using ft_getopt
the first input should contain key-value pairs

Error in ft_apply_montage (line 84)
keepunused    = ft_getopt(varargin, 'keepunused',  'no');

Error in Selma_Preproc_Code_V1 (line 50)
[data] = ft_apply_montage(data_eeg, montage.labelold,
montage.labelnew);



Best Regards,
Selma
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20201230/bfb99f3d/attachment.htm>


More information about the fieldtrip mailing list