braindecode.datautil.save_concat_dataset

braindecode.datautil.save_concat_dataset(path, concat_dataset, overwrite=False)

Save a BaseConcatDataset of BaseDatasets or WindowsDatasets to files

Parameters
path: str

directory to which .fif and .json files are stored

concat_dataset: BaseConcatDataset of BaseDatasets or WindowsDatasets

to save to files

overwrite: bool

whether to overwrite existing files (will delete old fif files in specified directory)