cmtklib.data.parcellation.util module

Module that defines CMTK utility functions for retrieving Lausanne parcellation files.

cmtklib.data.parcellation.util.get_lausanne2018_parcellation_annot(scale='scale1', hemi='lh')[source]

Return the path of the Freesurfer .annot file corresponding to a specific scale and hemisphere.

Parameters
  • scale ({'scale1', 'scale2', 'scale3', 'scale4', 'scale5'}) – Lausanne 2018 parcellation scale

  • hemi ({'lh', 'rh'}) – Brain hemisphere

Returns

annot_file_path – Absolute path to the queried .annot file

Return type

string

cmtklib.data.parcellation.util.get_lausanne2018_parcellation_mni_coords(scale='scale1')[source]

Return label regions cut coordinates in MNI space (mm).

Parameters

scale ({'scale1', 'scale2', 'scale3', 'scale4', 'scale5'}) – Lausanne 2018 parcellation scale

Returns

coords – Label regions cut coordinates in MNI space (mm)

Return type

numpy.array