braindecode.datasets.MOABBDataset#

class braindecode.datasets.MOABBDataset(dataset_name: str, subject_ids: list[int] | int | None = None, dataset_kwargs: dict[str, Any] | None = None, dataset_load_kwargs: dict[str, Any] | None = None)[source]#

A class for moabb datasets.

Parameters:
  • dataset_name (str) – name of dataset included in moabb to be fetched

  • subject_ids (list(int) | int | None) – (list of) int of subject(s) to be fetched. If None, data of all subjects is fetched.

  • dataset_kwargs (dict, optional) – optional dictionary containing keyword arguments to pass to the moabb dataset when instantiating it.

  • dataset_load_kwargs (dict, optional) – optional dictionary containing keyword arguments to pass to the moabb dataset’s load_data method. Allows using the moabb cache_config=None and process_pipeline=None.