Hi,
I am new to MNE. I am using this code to generate sphere model, source space for MEG source reconstruction but got an incorrect alignment. Could someone please suggest what is the wrong here?
sphere = mne.make_sphere_model(r0='auto', head_radius='auto', info=raw.info,
relative_radii=(0.9, 0.92, 0.97, 1.0),
sigmas=(0.33, 1.0, 0.004, 0 is provided.33),
verbose=True)
src = mne.setup_volume_source_space(subject=None, pos=10.,
bem=sphere, mindist=2., exclude=0.0, verbose=True)
fwd = mne.make_forward_solution(raw.info,
trans=None ,
src=src, bem=sphere,
eeg=False, n_jobs=n_jobs, verbose=True)
mne.viz.plot_alignment(raw.info, bem=sphere, src=src, dig=True,
trans=None, meg=False,
)
When I replaced trans=None by trans=mne.transforms.Transform(fro=4, to=5, trans=np.eye(4)), I got
As per my understanding, since the sphere is modeled with digitization points and source space is define as per the sphere model without providing any MRI, all should be in head coordinate frame.
Then why am I getting such miss-alignment?
Thank you.
- MNE version: 1.4.0
- operating system: Ubuntu 20.04