cortex.mni.compute_mni_transform

cortex.mni.compute_mni_transform(subject, xfm, template='/usr/share/fsl/5.0/data/standard/MNI152_T1_1mm_brain.nii.gz')[source]

Compute transform from the space specified by xfm to MNI standard space.

Parameters:
subjectstr

Subject identifier

xfmstr

Name of functional space transform. Can be ‘identity’ for anat space.

templatestr, optional

Path to MNI template volume. Defaults to FSL’s MNI152_T1_1mm_brain.

Returns:
numpy.ndarray

Transformation matrix from the space specified by xfm to MNI space.