Write electrode positions to .fif file

Hi, I’m trying to perform coregistration using the MNE GUI. My electrode positions are currently saved in a .csv file in RAS coordinates. It is possible to write these position data to a .fif that can be imported into the coregistration GUI?

Thanks.

Electrode location are stored in a DigMontage, which can be saved with this method mne.channels.DigMontage — MNE 1.5.1 documentation

I’m not sure it can be imported into the coreg GUI, but probably.

Mathieu

Thanks! I’ve managed to import the electrode positions into a DigMontage. I was wondering if it would be possible to import into some of these file types/objects into the GUI because it is taking me a very long time to figure out the appropriate translations and rotations using the functions alone.