abagen.fetch_freesurfer

abagen.fetch_freesurfer(data_dir=None, donors=None, resume=True, verbose=1)[source]

Downloads FreeSurfer reconstructions of the Allen Human Brain Atlas MRIs

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:

freesurfer – Dictionary where keys are donor IDs and values are paths to FreeSurfer directories for requested donors

Return type:

dict

References

Romero-Garcia, R., Whitaker, K., Vasa, F., Seidlitz, J., Shinn, M., Fonagy, P., Jones, P., et al. (2017). Data supporting NSPN publication “Structural covariance networks are coupled to expression of genes enriched in supragranular layers of the human cortex “ [Dataset]. https://doi.org/10.17863/CAM.11392