simnibs.subject2mni_coords¶
- simnibs.subject2mni_coords(coordinates, m2m_folder, transformation_type='nonl')¶
Warps a set of coordinates in subject space to MNI space
- Parameters:
coordinates (list or numpy array in Nx3 format) – Coordinates to be transformd
m2m_folder (str) – Path to the m2m_{subject_id} folder, generated during the segmantation
transformation_type ({'nonl', '6dof', '12dof'}) – Type of tranformation, non-linear, 6 or 12 degrees of freedom
- Returns:
transformed_coords – Array with transformed coordinates
- Return type:
Nx3 numpy array