braindecode.datautil.load_concat_dataset

braindecode.datautil.load_concat_dataset(path, preload, ids_to_load=None, target_name=None, n_jobs=1)

Load a stored BaseConcatDataset of BaseDatasets or WindowsDatasets from files.

Parameters
path: str

Path to the directory of the .fif / -epo.fif and .json files.

preload: bool

Whether to preload the data.

ids_to_load: None | list(int)

Ids of specific files to load.

target_name: None or str

Load specific description column as target. If not given, take saved target name.

n_jobs: int

Number of jobs to be used to read files in parallel.

Returns
concat_dataset: BaseConcatDataset of BaseDatasets or WindowsDatasets

Examples using braindecode.datautil.load_concat_dataset