aslprep.utils.atlas module

Functions for working with atlases.

get_atlas_cifti(atlas_name)[source]

Select atlas by name from aslprep/data.

All atlases are in 91K space.

NOTE: This is a Node function.

Parameters:

atlas_name ({“Schaefer117”, “Schaefer217”, “Schaefer317”, “Schaefer417”, “Schaefer517”, “Schaefer617”, “Schaefer717”, “Schaefer817”, “Schaefer917”, “Schaefer1017”, “Glasser”, “Gordon”, “subcortical”}) – The name of the CIFTI atlas to fetch.

Returns:

atlas_file – Path to the atlas file.

Return type:

str

get_atlas_names()[source]

Get a list of atlases to be used for parcellation and functional connectivity analyses.

The actual list of files for the atlases is loaded from a different function.

NOTE: This is a Node function.

Returns:

List of atlases.

Return type:

list of str

get_atlas_nifti(atlas_name)[source]

Select atlas by name from aslprep/data using pkgrf.

All atlases are in MNI space.

NOTE: This is a Node function.

Parameters:

atlas_name ({“Schaefer117”, “Schaefer217”, “Schaefer317”, “Schaefer417”, “Schaefer517”, “Schaefer617”, “Schaefer717”, “Schaefer817”, “Schaefer917”, “Schaefer1017”, “Glasser”, “Gordon”, “subcortical”}) – The name of the NIFTI atlas to fetch.

Returns:

atlas_file – Path to the atlas file.

Return type:

str