moabb.paradigms.ssvep.BaseSSVEP#

class moabb.paradigms.ssvep.BaseSSVEP(filters=((7, 45),), events=None, n_classes=None, tmin=0.0, tmax=None, baseline=None, channels=None, resample=None, scorer=None)[source]#

Base SSVEP Paradigm.

Parameters:
  • filters (list of list | None (default ((7, 45),))) – Bank of bandpass filter to apply.

  • n_classes (int or None (default None)) – Number of classes each dataset must have. All dataset classes if None.

property datasets#

List of datasets valid for the paradigm.

is_valid(dataset)[source]#

Check if dataset is valid for the SSVEP paradigm.

prepare_process(dataset)[source]#

Prepare dataset for processing, and using events if needed.

This function is called before the processing function, and is used to prepare the dataset for processing. This includes: get the events used for the paradigm, and set the filters if needed.

Parameters:

dataset (moabb.datasets.base.BaseDataset) – Dataset to prepare.

property scoring#

Return the scoring method for this paradigm.

By default, if n_classes use the roc_auc, else use accuracy. More details about this default scoring method can be found in the original moabb paper.

used_events(dataset)[source]#

Return the mne events used for the dataset.