mne.
compute_source_morph
(src, subject_from=None, subject_to='fsaverage', subjects_dir=None, zooms=5, niter_affine=(100, 100, 10), niter_sdr=(5, 5, 3), spacing=5, smooth=None, warn=True, xhemi=False, sparse=False, verbose=False)[source]¶Create a SourceMorph from one subject to another.
Method is based on spherical morphing by FreeSurfer for surface cortical estimates [1] and Symmetric Diffeomorphic Registration for volumic data [2].
Parameters: |
|
---|
Notes
This function can be used to morph data between hemispheres by setting
xhemi=True
. The full cross-hemisphere morph matrix maps left to right
and right to left. A matrix for cross-mapping only one hemisphere can be
constructed by specifying the appropriate vertices, for example, to map the
right hemisphere to the left:
vertices_from=[[], vert_rh], vertices_to=[vert_lh, []]
.
Cross-hemisphere mapping requires appropriate sphere.left_right
morph-maps in the subject’s directory. These morph maps are included
with the fsaverage_sym
FreeSurfer subject, and can be created for other
subjects with the mris_left_right_register
FreeSurfer command. The
fsaverage_sym
subject is included with FreeSurfer > 5.1 and can be
obtained as described here. For statistical
comparisons between hemispheres, use of the symmetric fsaverage_sym
model is recommended to minimize bias [1].
New in version 0.17.0.
References
[1] | (1, 2, 3) Greve D. N., Van der Haegen L., Cai Q., Stufflebeam S., Sabuncu M. R., Fischl B., Brysbaert M. A Surface-based Analysis of Language Lateralization and Cortical Asymmetry. Journal of Cognitive Neuroscience 25(9), 1477-1492, 2013. |
[2] | (1, 2) Avants, B. B., Epstein, C. L., Grossman, M., & Gee, J. C. (2009). Symmetric Diffeomorphic Image Registration with Cross- Correlation: Evaluating Automated Labeling of Elderly and Neurodegenerative Brain, 12(1), 26-41. |
mne.compute_source_morph
¶