[Mne_analysis] Get 3D coordinates of MEG sensors

Alexandre Gramfort alexandre.gramfort at inria.fr
Mon Sep 7 03:31:39 EDT 2020
Search archives:

        External Email - Use Caution        

hi Clément,

you need to look at

info['chs'][idx]['loc']

for meg sensors it contains translation and rotation of channel geometries
are described in
https://github.com/mne-tools/mne-python/blob/master/mne/data/coil_def.dat

HTH
Alex

On Sun, Sep 6, 2020 at 7:49 PM VERRIER Clement
<clement.VERRIER at univ-amu.fr> wrote:
>
>         External Email - Use Caution
>
> Hi everyone,
>
> I am trying to get the 3D coordinates of MEG sensors (somato dataset) in order to do some basic experiments with the forward operator. I am following this tutorial: https://mne.tools/stable/auto_tutorials/intro/plot_40_sensor_locations.html,
> but I am quite lost. I have checked the ‘info’ parameter of the raw file, but I did not find the coordinates of the sensors.
>
> Could someone help me please ?
>
> Thank you,
>
> Clément Verrier
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis



More information about the Mne_analysis mailing list