sovabids.datasets
¶
Module with dataset utilities.
Module Contents¶
Functions¶
Download and prepare a few files of the LEMON dataset. |
|
|
Download and prepare a few files of the LEMON dataset to be used with BIDSCOIN. |
|
Create a dummy dataset given some parameters. |
- sovabids.datasets.lemon_prepare()[source]¶
Download and prepare a few files of the LEMON dataset.
Notes
See the LEMON dataset .
- sovabids.datasets.lemon_bidscoin_prepare(src_path)[source]¶
Download and prepare a few files of the LEMON dataset to be used with BIDSCOIN.
- Parameters
src_path (str) – The path where the BIDSCOIN-ready LEMON files will be
See also
datasets.lemon_prepare
- sovabids.datasets.make_dummy_dataset(PATTERN='T%task%/S%session%/sub%subject%_%acquisition%_%run%', DATASET='DUMMY', NSUBS=2, NSESSIONS=2, NTASKS=2, NACQS=2, NRUNS=2, NCHANNELS=2, SFREQ=200, STOP=10, NUMEVENTS=10, PREFIXES={'subject': 'SU', 'session': 'SE', 'task': 'TA', 'acquisition': 'AC', 'run': 'RU'}, ROOT=None)[source]¶
Create a dummy dataset given some parameters.
- Parameters
PATTERN (str, optional) – The pattern in placeholder notation using the following fields: %dataset%, %task%, %session%, %subject%, %run%, %acquisition%
DATASET (str, optional) – Name of the dataset.
NSUBS (int, optional) – Number of subjects.
NSESSIONS (int, optional) – Number of sessions.
NTASKS (int, optional) – Number of tasks.
NACQS (int, optional) – Number of acquisitions.
NRUNS (int, optional) – Number of runs.
NCHANNELS (int, optional) – Number of channels.
SFREQ (float, optional) – Samplinf frequency of the data.
STOP (float, optional) – Time duration of the data in seconds.
NUMEVENTS (int, optional) – Number of events along the duration.
PREFIXES (dict, optional) – Dictionary with the following keys:’subject’, ‘session’, ‘task’ and ‘acquisition’. The values are the corresponding prefix. RUN is not present because it has to be a number.
ROOT (str, optional) – Path where the files will be generated. If None, the _data subdir will be used.