neuralfetch.download.Openneuro¶
- pydantic model neuralfetch.download.Openneuro[source][source]¶
Download datasets from OpenNeuro.
The inherited
include/excludeglobs map directly onto the openneuro-py API (files and directories to download / skip). Uses Unix path expansion (*for any number of wildcard characters and?for one; e.g.'sub-1_task-*.fif'). As an example, to download only subject ‘1’ and run ‘01’ files useinclude=['sub-1/**/*run-01*']. The pattern**matches any files and zero or more directories, subdirectories and symbolic links to directories. SeeBaseDownload.The
nworkersparameter controls how many files are downloaded in parallel (forwarded toopenneuro.downloadasmax_concurrent_downloads). The openneuro-py default is 5; raise it to speed up datasets with many files when network bandwidth allows.- Fields: