You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
ft_electrode_realign in "headshape" mode does not properly fit the electrodes to the head surface but shifts them towards the middle of the head.
To Reproduce
Run ft_electroderealign with cfg.method='headshape'
Expected behavior
Electrode positions get fit to the provided headshape with rigid body transformation.
Screenshots
Environment and versions (please complete the following information):
I assume any.
Additional context
Replacing line 58 of ft_warp_error.m by
dist = mean(abs(el(:,4)));
seems to fix the problem.
The text was updated successfully, but these errors were encountered:
Describe the bug
ft_electrode_realign in "headshape" mode does not properly fit the electrodes to the head surface but shifts them towards the middle of the head.
To Reproduce
Expected behavior
Electrode positions get fit to the provided headshape with rigid body transformation.
Screenshots
Environment and versions (please complete the following information):
I assume any.
Additional context
Replacing line 58 of ft_warp_error.m by
dist = mean(abs(el(:,4)));
seems to fix the problem.
The text was updated successfully, but these errors were encountered: