I am trying to transform the position of a dipole (by ecd-fit or
mixed-norm-estimate) to the subjects mri-coordinate system, to compare it
to source-space-activations and label and visualize it in the 3D-Brain. As
I understand, the dipole lies in the head-coordinate frame and the position
has to be transformed.
I tried the "_get_dipole_loc"-function in _3d.py but it didn't seem to work
out.
How would I get the transformation right? Or is there even a function for
this I overlooked?
thanks for your immediate response.
I saw, that the function head_to_mri transforms to MRI RAS and not Surface
RAS. But I'd like to plot the dipole-position together with a
pysurfer-surface plot and would also like to compare dipole with label
positions.
Is there a way, to transform to Surface RAS too?