metabci.brainda.paradigms.movement_intention module

Movement intention paradigms.

class metabci.brainda.paradigms.movement_intention.MovementIntention(channels: List[str] | None = None, events: List[str] | None = None, intervals: List[Tuple[float, float]] | None = None, srate: float | None = None)[source]

Bases: BaseParadigm

Basic movement intention paradigm.

is_valid(dataset)[source]

Verify the dataset is compatible with the paradigm.

This method is called to verify dataset is compatible with the paradigm.

This method should raise an error if the dataset is not compatible with the paradigm. This is for example the case if the dataset is an ERP dataset for motor imagery paradigm, or if the dataset does not contain any of the required events.

Parameters:

dataset (BaseDataset) – dataset