# Coregistration: Placing fiducials manually?

**URL:** <https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352>\
**Category:** Support & Discussions\
**Tags:** coregistration\
**Created:** [August 1, 2022, 12:44pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352 "2022-08-01T12:44:10Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![fesieben](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/fesieben/32/787_2.png) [@fesieben](https://mne.discourse.group/u/fesieben)\
**Post date:** [August 1, 2022, 12:44pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/1 "2022-08-01T12:44:10Z")

</div>

Hi,

I am just trying out the new MNE 1.0.3 (after previously using 0.23) on a Windows 10 computer, and found that it is no longer possible for me to place the fiducials by mouse click in the coregistration window.  
Is this function no longer implemented, or am I dealing with a bug here?

And yes, I see that I can now easily edit the exact x,y,z, coordinates for the fiducials, which is nice, but it would be much nicer to have both that and the placing-by-click functionality.

Thanks,  
Felix

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [August 1, 2022, 1:55pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/2 "2022-08-01T13:55:46Z")

</div>

Hello Felix, it should very well be possible to place the fiducials by hand. If it doesn’t work, that’s a bug.

I’m afraid none of the developers ever used and properly tested the coregistration UI on Windows (raise your hands if I’m mistaken, and I’ll stand corrected!).

What exactly do you mean by, you cannot place the fiducials? What happens?

Best,  
Richard

---

<div class="post-metadata">

**Author:** ![fesieben](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/fesieben/32/787_2.png) [@fesieben](https://mne.discourse.group/u/fesieben)\
**Post date:** [August 1, 2022, 1:57pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/3 "2022-08-01T13:57:49Z")

</div>

Hi Richard,

thanks for your reply. In the older MNE, I could click on the interface and the fiducial would be placed on the head surface. With MNE 1.0.3, nothing happens when I click…

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [August 1, 2022, 1:59pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/4 "2022-08-01T13:59:31Z")

</div>

Could you maybe produce a short screen recording demonstrating the issue? If you have the time only, of course 🙂

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [August 1, 2022, 2:00pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/5 "2022-08-01T14:00:09Z")

</div>

Also, can you please share the output of

```python
import mne
mne.sys_info()

```

Thanks!

---

<div class="post-metadata">

**Author:** ![fesieben](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/fesieben/32/787_2.png) [@fesieben](https://mne.discourse.group/u/fesieben)\
**Post date:** [August 1, 2022, 2:14pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/6 "2022-08-01T14:14:57Z")

</div>

Hi Richard,

I can’t produce a screen recording right away, but I can explain it and attach a screenshot. So I would expect that when I select one of the 3 fiducials on the left and then click somewhere on the head, that the fiducial symbol would be placed there (and the x,y,z coordinates would change). But that doesn’t happen, nothing happens. If I change the entry for X or Y or Z, the fiducial symbol moves accordingly (though slowly). If I click on the head and hold the mouse button pressed and move the mouse, I can rotate the head, as in the previous versions of MNE.

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/d/dda79712ded0fd3d368ae89f88e9fdcc2c7221df.jpeg)

I’ve tried this now on two different systems, for both I installed MNE via conda/mamba (I first tried it with the downloadable installer on system 1, but that didn’t work out).

Output of mne.sys\_info() on system 1:  
Platform: Windows-10-10.0.19042-SP0  
Python: 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 06:57:19) [MSC v.1929 64 bit (AMD64)]  
Executable: C:\ProgramData\Anaconda3\envs\mne\python.exe  
CPU: Intel64 Family 6 Model 63 Stepping 2, GenuineIntel: 8 cores  
Memory: 31.9 GB  
mne: 1.0.3  
numpy: 1.22.4 {blas=NO\_ATLAS\_INFO, lapack=lapack}  
scipy: 1.9.0  
matplotlib: 3.5.2 {backend=module://matplotlib\_inline.backend\_inline}

sklearn: 1.1.1  
numba: 0.55.2  
nibabel: 4.0.1  
nilearn: 0.9.1  
dipy: 1.5.0  
cupy: 11.0.0  
pandas: 1.4.3  
pyvista: 0.35.2 {OpenGL 4.5.0 NVIDIA 473.47 via Quadro K4200/PCIe/SSE2}  
pyvistaqt: 0.9.0  
ipyvtklink: 0.2.2  
vtk: 9.1.0  
PyQt5: 5.15.7  
ipympl: Not found  
pooch: v1.6.0  
mne\_bids: Not found  
mne\_nirs: Not found  
mne\_features: Not found  
mne\_qt\_browser: 0.3.1  
mne\_connectivity: Not found

and system 2:  
Platform: Windows-10-10.0.17763-SP0  
Python: 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 06:57:19) [MSC v.1929 64 bit (AMD64)]  
Executable: D:\ProgramData\Anaconda3\envs\mne103\python.exe  
CPU: Intel64 Family 6 Model 85 Stepping 7, GenuineIntel: 48 cores  
Memory: 767.7 GB

mne: 1.0.3  
numpy: 1.22.4 {blas=NO\_ATLAS\_INFO, lapack=lapack}  
scipy: 1.9.0  
matplotlib: 3.5.2 {backend=module://matplotlib\_inline.backend\_inline}

sklearn: 1.1.1  
numba: 0.55.2  
nibabel: 4.0.1  
nilearn: 0.9.1  
dipy: 1.5.0  
cupy: 11.0.0  
pandas: 1.4.3  
pyvista: 0.35.2 {OpenGL 4.5.0 NVIDIA 451.22 via Quadro RTX 8000/PCIe/SSE2}  
pyvistaqt: 0.9.0  
ipyvtklink: 0.2.2  
vtk: 9.1.0  
PyQt5: 5.15.7  
ipympl: Not found  
pooch: v1.6.0  
mne\_bids: Not found  
mne\_nirs: Not found  
mne\_features: Not found  
mne\_qt\_browser: 0.3.1  
mne\_connectivity: Not found

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [August 1, 2022, 5:40pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/7 "2022-08-01T17:40:11Z")

</div>

Split this topic on August 1, 2022, 5:40pm UTC

5 posts were split to a new topic: [Standalone installer issues on Windows](https://mne.discourse.group/t/standalone-installer-issues-on-windows/5353)

---

<div class="post-metadata">

**Author:** ![fesieben](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/fesieben/32/787_2.png) [@fesieben](https://mne.discourse.group/u/fesieben)\
**Post date:** [August 5, 2022, 11:13am UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/8 "2022-08-05T11:13:45Z")

</div>

Hi Richard,

the manual placing of fiducials works now in MNE 1.1.0. Thanks for fixing this!

One issue that remains is that on our servers quite often (but not always) the console (in Anaconda Spyder) freezes when closing the coregistration GUI.  
And some minor observations: The GUI seems to react slower than in previous versions; and I’m wondering why the default value for ICP iterations is set to 20 (which seems extremley high to me).

Best,  
Felix

---

<div class="post-metadata">

**Author:** ![richard](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/richard/32/15_2.png) [@richard](https://mne.discourse.group/u/richard)\
**Post date:** [August 5, 2022, 1:00pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/9 "2022-08-05T13:00:58Z")

</div>

> [@fesieben](#):
>
> One issue that remains is that on our servers quite often (but not always) the console (in Anaconda Spyder) freezes when closing the coregistration GUI.

Do you only see this with the coreg UI, or also with other 3D plotting windows, like the one opened by `plot_alignment()`?

> [@fesieben](#):
>
> And some minor observations: The GUI seems to react slower than in previous versions

What exactly do you mean by that? Do you observe delays after clicking somewhere…?

> [@fesieben](#):
>
> and I’m wondering why the default value for ICP iterations is set to 20 (which seems extremley high to me).

I don’t know, but it should usually converge in fewer iterations, so the maximum number shouldn’t matter, because it finishes earlier, no?

Cheers,  
Richard

---

<div class="post-metadata">

**Author:** ![fesieben](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/fesieben/32/787_2.png) [@fesieben](https://mne.discourse.group/u/fesieben)\
**Post date:** [August 5, 2022, 1:32pm UTC](https://mne.discourse.group/t/coregistration-placing-fiducials-manually/5352/10 "2022-08-05T13:32:12Z")

</div>

> [@richard](#):
>
> > [@fesieben](#):
> >
> > One issue that remains is that on our servers quite often (but not always) the console (in Anaconda Spyder) freezes when closing the coregistration GUI.
> 
> Do you only see this with the coreg UI, or also with other 3D plotting windows, like the one opened by `plot_alignment()`?

So far, this has only happened with coreg. And it seems to become more likely if you work with the UI for longer. So far, there seems to be no problem with `plot_alignment()`.

> [@richard](#):
>
> > [@fesieben](#):
> >
> > And some minor observations: The GUI seems to react slower than in previous versions
> 
> What exactly do you mean by that? Do you observe delays after clicking somewhere…?

Yes. Particularly when placing fiducials or rotating the head. It still is okay to work with, so no big deal.

> [@richard](#):
>
> > [@fesieben](#):
> >
> > and I’m wondering why the default value for ICP iterations is set to 20 (which seems extremley high to me).
> 
> I don’t know, but it should usually converge in fewer iterations, so the maximum number shouldn’t matter, because it finishes earlier, no?

Well, the ICP fitting doesn’t always seem to give the optimal outcome and sometimes manual adjustment may be needed - at least that’s my previous experience. Depends a lot on how well the digitization was done. So I prefer to do a few steps of fitting and then see if it makes more sense to proceed with additional fitting or with adjusting manually.
