mne.gui.coregistration()

Dear MNE users,

I come back with the problem of using mne.gui.coregistration()
with CTF data.

If I read the sample dataset SPM_CTF_MEG_example_faces1_3D_raw.fif'
I find the following dig points:

{'coord_frame': 4,
   'ident': 3,
   'kind': 2,
   'r': array([ 4.30736691e-09, 9.82968360e-02, 0.00000000e+00],
dtype=float32)},
  {'coord_frame': 4,
   'ident': 1,
   'kind': 2,
   'r': array([ -7.32455477e-02, -3.20142135e-09, 0.00000000e+00],
dtype=float32)},
  {'coord_frame': 4,
   'ident': 2,
   'kind': 2,
   'r': array([ 7.07898811e-02, 2.96859071e-09, 0.00000000e+00],
dtype=float32)}

With this setting I don't see the points in the mne.gui.coregistration()
To use this gui I have to do this

  raw.info['dig'][0]['kind'] = 1
  raw.info['dig'][1]['kind'] = 1
  raw.info['dig'][2]['kind'] = 1
  raw.info['dig'][0]['ident'] = 2
  raw.info['dig'][1]['ident'] = 1
  raw.info['dig'][2]['ident'] = 3

With this change I'm able to perform the coregistration by the gui

Now...

The weird thing is that I have to change the ident
value, since their setting seems wrong. ident=2 has to be
the noise while it seems to assigned to rpa

what to u think?

Thks!
best
Annalisa

hi,

I don't know this ident number by heart but I guess yes there is
something to fix.

Please open an issue and we'll look into it.

thanks
Alex

done!

thanks a lot!

have a good day
Annalisa

Alexandre Gramfort <alexandre.gramfort at telecom-paristech.fr> ha scritto: