External Email - Use Caution
Hi all,
Is there a function in mne-python that extract electrodes x,y,z 3d
positions from epoched data? I tried but couldn't find.
Thanks in advance for help
External Email - Use Caution
Hi all,
Is there a function in mne-python that extract electrodes x,y,z 3d
positions from epoched data? I tried but couldn't find.
Thanks in advance for help
External Email - Use Caution
hi,
you can do something like this:
locs = [c['loc'] for c in epochs.info['chs']]
you can have a look at the plot_sensors function to see how we use these
internally.
HTH
Alex
External Email - Use Caution
In addition to Alex's comment, you could check the file, from which xyz
location for each channel is read.
here is 10-20 system file
https://github.com/mne-tools/mne-python/blob/master/mne/channels/data/montages/standard_1020.elc.
<https://github.com/mne-tools/mne-python/blob/master/mne/channels/data/montages/standard_1020.elc>
You must have the same files in your local machine at ..
/mne/channels/data/montages/'.
External Email - Use Caution
Here is shortcode to achieve the same: