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
orstr
, optional) – Path where data should be downloaded. By default, files are downloaded in home directory. A subfolder, namedneuroquery
, will be created indata_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 – Updated data directory pointing to dataset files.
- Return type: