# mne.gui.coregistration()

**URL:** <https://mne.discourse.group/t/mne-gui-coregistration/1148>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [January 16, 2017, 8:38pm UTC](https://mne.discourse.group/t/mne-gui-coregistration/1148 "2017-01-16T20:38:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [January 16, 2017, 8:38pm UTC](https://mne.discourse.group/t/mne-gui-coregistration/1148/1 "2017-01-16T20:38:53Z")

</div>

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,  
&nbsp;&nbsp;&nbsp;'ident': 3,  
&nbsp;&nbsp;&nbsp;'kind': 2,  
&nbsp;&nbsp;&nbsp;'r': array([4.30736691e-09, 9.82968360e-02, 0.00000000e+00],  
dtype=float32)},  
&nbsp;&nbsp;{'coord\_frame': 4,  
&nbsp;&nbsp;&nbsp;'ident': 1,  
&nbsp;&nbsp;&nbsp;'kind': 2,  
&nbsp;&nbsp;&nbsp;'r': array([-7.32455477e-02, -3.20142135e-09, 0.00000000e+00],  
dtype=float32)},  
&nbsp;&nbsp;{'coord\_frame': 4,  
&nbsp;&nbsp;&nbsp;'ident': 2,  
&nbsp;&nbsp;&nbsp;'kind': 2,  
&nbsp;&nbsp;&nbsp;'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

&nbsp;&nbsp;raw.info['dig'][0]['kind'] = 1  
&nbsp;&nbsp;raw.info['dig'][1]['kind'] = 1  
&nbsp;&nbsp;raw.info['dig'][2]['kind'] = 1  
&nbsp;&nbsp;raw.info['dig'][0]['ident'] = 2  
&nbsp;&nbsp;raw.info['dig'][1]['ident'] = 1  
&nbsp;&nbsp;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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [January 20, 2017, 5:53am UTC](https://mne.discourse.group/t/mne-gui-coregistration/1148/2 "2017-01-20T05:53:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [January 20, 2017, 8:01am UTC](https://mne.discourse.group/t/mne-gui-coregistration/1148/3 "2017-01-20T08:01:18Z")

</div>

done!

thanks a lot!

have a good day  
Annalisa

Alexandre Gramfort \<alexandre.gramfort at [telecom-paristech.fr](http://telecom-paristech.fr)\> ha scritto:
