[Eeglablist] Using two different caps together
Downey, Ryan J
RDowney at bme.ufl.edu
Mon Feb 18 12:48:06 PST 2019
You can try something like:
chLabel = 'FP1';
chInd = find(strcmp(chLabel,{EEG.chanlocs.labels}));
Then use "chInd" wherever you would otherwise type 'chans',1.
Sincerely,
Ryan J. Downey
Postdoctoral Associate
Human Neuromechanics Laboratory
University of Florida
-----Original Message-----
From: eeglablist <eeglablist-bounces at sccn.ucsd.edu> On Behalf Of Emmanuelle Renauld
Sent: Monday, February 18, 2019 12:20 PM
To: eeglablist at sccn.ucsd.edu
Subject: [Eeglablist] Using two different caps together
Hi everyone,
I would like to know the easiest way to deal with multiple EEG datasets with different chanlocs when plotting my final ERP. For instance, using pop_comperp, if I want to plot only one channel, I can't use the option 'chans', 1 because 1 doesn't refer to the same channel in every dataset. It would be nice if I could say 'chans', 'FP1' but I can't.
I could manually inverse the order of all my channels in all my datasets so that they would be the same. I don't think it exists, does it? Something like pop_rearrange_chanorders(EEG, new_order). The two caps contain nearly all the same channels, except for Iz that I would have to forget in one of the caps.
Or is there another way to use pop_comperp? Can you help?
Thanks!
Emmanuelle
P.S I know that comparing two datasets recorded with two different caps is not the best way but our cap was broken and we had to continue with another one... :(
_______________________________________________
Eeglablist page: https://urldefense.proofpoint.com/v2/url?u=http-3A__sccn.ucsd.edu_eeglab_eeglabmail.html&d=DwICAg&c=pZJPUDQ3SB9JplYbifm4nt2lEVG5pWx2KikqINpWlZM&r=KssPiEhnhBiSJO8B8Z52FmDLXXIqSZMVgZMN9FykiAE&m=QDWNEiTL5OMCEL9kL-POyR00Y7cvpP2HEHi2uVCHNJM&s=rtoX7hzTaFP9RWC4PHP-QysrZICON0zNod4tAQIzv0s&e=
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu
More information about the eeglablist
mailing list