skbold.utils.parse_roi_labels module

parse_roi_labels(atlas_type='Talairach', lateralized=False, debug=False)[source]

Parses xml-files belonging to FSL atlases.

Parameters:
  • atlas_type (str) – String identifying which atlas needs to be parsed.
  • lateralized (bool) – Whether to use the lateralized version of the atlas (only applicable to HarvardOxford masks)
Returns:

info_dict – Dictionary with indices and coordinates (values) per ROI (keys).

Return type:

dict