nimare.extract.download_nidm_pain

download_nidm_pain(data_dir=None, overwrite=False)[source]

Download NIDM Results for 21 pain studies from NeuroVault for tests.

New in version 0.0.2.

Parameters
  • data_dir (pathlib.Path or str, optional) – Path where data should be downloaded. By default, files are downloaded in home directory. A subfolder, named neuroquery, will be created in data_dir, which is where the files will be located.

  • overwrite (bool, optional) – Whether to overwrite existing files or not. Default is False.

Returns

data_dir (str) – Updated data directory pointing to dataset files.

Examples using nimare.extract.download_nidm_pain