[BUG] mne coreg GUI saves fiducials in meg space but labels as mri space
See original GitHub issueTry:
SUBJECT=sample
SUBJECTS_DIR=/path/to/mne_data/MNE-sample-data/subjects/
mne coreg
Save fiducials as test file
import mne
fids, coord_frame = mne.io.read_fiducials('/path/to/saved/mne_sample-fiducials.fif')
print(fids)
The fiducials are in meg space but have coord_frame 5 corresponding to mri space.
[{'kind': 1, 'ident': 1, 'r': array([-0.07629625, -0.00062556, -0.00776012], dtype=float32),
'coord_frame': 5}, {'kind': 1, 'ident': 2, 'r': array([0.00267222, 0.09362256, 0.03224791], dtype=float32),
'coord_frame': 5}, {'kind': 1, 'ident': 3, 'r': array([ 0.07635873, -0.00258065, -0.01212903],
dtype=float32), 'coord_frame': 5}]
Voxel space is something like:
array([[67.7471001 , 52.83904668, 48.1775196 ],
[40.75665484, 24.14586344, 64.9023987 ],
[16.50280451, 56.2472034 , 48.80732148]])
Either the fids should be changed to voxel space or the coordinate system should be changed to head.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Using an automated approach to coregistration - MNE-Python
This example shows how to use the coregistration functions to perform an automated MEG-MRI coregistration via scripting. Generally the results of this ...
Read more >Getting iEEG montage volume label and plotting electrodes on ...
So the solution is to assign fiducials automatically to your montage if they aren't there already ( montage.add_estimated_fiducials ) and then use mne....
Read more >Multimodal Integration of M/EEG and f/MRI Data in SPM12
Keywords: MEG, EEG, fMRI, multimodal, fusion, SPM, inversion, faces ... However, in case you want to save time and disk space, ...
Read more >SPM12 Manual
45.1.3 Using Dartel Tools→Normalise to MNI Space . ... unteractive GUI and then save the results in a mat file and use this...
Read more >Corregistration between MEG and MRI - Google Groups
Anyway if you work "in the MNI space" wouldn't all brains be coregistered and thus landmarks across all participants have the same coordinates?...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

the source of the tutorials are in
/path/to/mnepython/tutorials/. The rendered versions get put in.../doc/auto_tutorialsby sphinx.Ok sorry super basic question: it looks like auto_tutorials are maybe in the .gitignore? How do I make a feature branch with this edited?