braindecode.datautil.preprocess

braindecode.datautil.preprocess(concat_ds, preprocessors)

Apply preprocessors to a concat dataset.

Parameters
concat_ds: BaseConcatDataset

A concat of BaseDataset or WindowsDataset datasets to be preprocessed.

preprocessors: list(Preprocessor)

List of Preprocessor objects to apply to the dataset.

Returns
BaseConcatDataset:

Preprocessed dataset.