[FieldTrip] ft_apply_montage

Daria Boratyn dboratyn at u.northwestern.edu
Fri Mar 6 00:27:13 CET 2015


I'm attempting to create a bipolar montage for a grouping of electrodes and
am hving trouble figuring out the correct inputs. The setup I have:

bipolar.labelorg  = {'EEG 030', 'EEG 028', 'EEG 040', 'EEG 020' 'EEG 018'
'EEG 038'}
bipolar.labelnew  = {'EEG 030-EEG 028', 'EEG 030-EEG 040', 'EEG 030-EEG
020', 'EEG 028-EEG 018', 'EEG 028-EEG 038'}
bipolar.tra       = [
  +1 -1  0  0  0  0
  +1  0 -1  0  0  0
  +1  0  0 -1  0  0
   0 +1  0  0 -1  0
   0 +1  0  0  0 -1
];
freq_bipolar = ft_apply_montage(freq_continuous,  );

I'm not sure which inputs ft_apply_montage wants and mostly get this error:
Attempt to reference field of non-structure array.

Error in ft_apply_montage (line 86)
  montage.chantypeorg = repmat({'unknown'}, size(montage.labelorg));

I would like to have an output that computes the subtraction of signals for
the pairings specified.

Any suggests would be greatly appreciated!

Thank you,
Daria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150305/11708a76/attachment-0001.html>


More information about the fieldtrip mailing list