qsiprep.utils.atlases module

Loading atlases

qsiprep.utils.atlases.get_atlases(atlas_names)[source]

Build dictionary of atlases to use to parcellate QSIPrep outputs.

Parameters:

atlas_names (list of str) – List of atlas names to load.

Returns:

outputs – Dictionary of atlases to use for parcellation. Keys are atlas names, values are dictionaries with the following keys:

  • filestr

    Path to atlas file.

  • node_nameslist of str

    List of node names in atlas.

  • node_idslist of int

    List of node IDs in atlas. Each element corresponds to an entry in node_names.

Return type:

dict

Notes

The location of the atlas_config.json file is determined by the QSIRECON_ATLAS environment variable.