MNE coreg based on CTF data

Continuing the discussion from Not able to load the digitization source using MNE coreg based on CTF data:

I am very new to MNE. I have the same issue as the discussions above and the solution seems working.
However, in the coregistration GUI, I only see the points without head shape. What should I do?

Many thanks!

Hello, which version of MNE-Python are you using? Can you post the output of mne sys_info? How did you start to coregistration GUI?

@richard sorry for the incomplete information.

Platform: macOS-10.15.7-x86_64-i386-64bit
Python: 3.9.2 | packaged by conda-forge | (default, Feb 21 2021, 05:02:20) [Clang 11.0.1 ]
Executable: /Users/andrewchang/opt/anaconda3/envs/mne/bin/python
CPU: i386: 12 cores
Memory: 64.0 GB

mne: 0.22.1
numpy: 1.20.2 {blas=NO_ATLAS_INFO, lapack=lapack}
scipy: 1.6.2
matplotlib: 3.4.1 {backend=Qt5Agg}

sklearn: 0.24.1
numba: 0.53.1
nibabel: 3.2.1
nilearn: 0.7.1
dipy: 1.4.0
cupy: Not found
pandas: 1.2.3
mayavi: 4.7.2
pyvista: 0.29.0 {pyvistaqt=0.3.0, OpenGL 4.1 INTEL-14.7.8 via Intel(R) UHD Graphics 630}
vtk: 9.0.1
PyQt5: 5.12.3

I launch the coregistration GUI by executing this in Spyder

mne.gui.coregistration()

Thank you! :slight_smile:

Could you try passing the subject, subjects_dir, and inst parameters to the coregistration() command, i.e.,

mne.gui.coregistration(subject='DBK15',
                       subjects_dir='...',
                       inst='..../MEG_music_decode/DBK15.fif')

and see if it behaves differently?

It works! Thank you @richard !

Great to hear it’s working now!

@GuillaumeFavelier are you aware of this bug?

No, I was not aware of this. I updated ENH: New interface for Coregistration · Issue #8833 · mne-tools/mne-python · GitHub :+1: