[FieldTrip] Montage
Selma Mohammad
selmamohammad1 at gmail.com
Wed Dec 30 17:29:49 CET 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20201230/f6522dd3/attachment.htm>
More information about the fieldtrip
mailing list