eigenstrapping.datasets.fetch_data
- eigenstrapping.datasets.fetch_data(*, name=None, space=None, den=None, res=None, hemi=None, tags=None, format=None, data_dir=None, verbose=1)[source]
Downloads files for brain surfaces and eigenmodes matching requested variables
- Parameters:
name (str or list-of-str) – Values on which to match surfaces. If not specified surfaces with any value for the relevant key will be matched. Default: None
space (str or list-of-str) – Values on which to match surfaces. If not specified surfaces with any value for the relevant key will be matched. Default: None
den (str or list-of-str) – Values on which to match surfaces. If not specified surfaces with any value for the relevant key will be matched. Default: None
res (str or list-of-str) – Values on which to match surfaces. If not specified surfaces with any value for the relevant key will be matched. Default: None
hemi (str or list-of-str) – Values on which to match surfaces. If not specified surfaces with any value for the relevant key will be matched. Default: None
tags (str or list-of-str) – Values on which to match surfaces. If not specified surfaces with any value for the relevant key will be matched. Default: None
format (str or list-of-str) – Values on which to match surfaces. If not specified surfaces with any value for the relevant key will be matched. Default: None
data_dir (str, optional) – Path to use as data directory. If not specified, will use ~/e-data instead. Default: None
verbose (int, optional) – Modifies verbosity of download, where higher numbers mean more updates. Default: 1
- Returns:
data – Dictionary of downloaded annotations where dictionary keys are tuples (space, den/res) and values are lists of corresponding filenames
- Return type: