braindecode.datautil.load_concat_dataset

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

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.

Returns
concat_dataset: BaseConcatDataset of BaseDatasets or WindowsDatasets

Examples using braindecode.datautil.load_concat_dataset