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 and .json files

preload: bool

whether to preload the data

ids_to_load: None | list(int)

ids of specific signals to load

target_name: None or str

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

Returns
concat_dataset: BaseConcatDataset of BaseDatasets or WindowsDatasets