abagen.fetch_raw_mri¶
- abagen.fetch_raw_mri(data_dir=None, donors=None, resume=True, verbose=1)[source]¶
Downloads the “raw” Allen Human Brain Atlas T1w/T2w MRI images
- Parameters
data_dir (str, optional) – Directory where data should be downloaded and unpacked. Default: $HOME/ abagen-data
donors (list, optional) – List of donors to download; can be either donor number or UID. Can also specify ‘all’ to download all available donors. Default: 12876
resume (bool, optional) – Whether to resume download of a partly-downloaded file. Default: True
verbose (int, optional) – Verbosity level (0 means no message). Default: 1
- Returns
mris – Two-level nested dictionary, where top-level keys are donor IDs and second-level keys are [‘t1w’, ‘t2w’], where corresponding values are lists of filepaths to downloaded Nifti files
- Return type