Transformer to compute event-matched spatial filters.
This version of EMS [1] operates on the entire time course. No time window needs to be specified. The result is a spatial filter at each time point and a corresponding time course. Intuitively, the result gives the similarity between the filter at each time point and the data vector (sensors) at that time point.
Note
EMS only works for binary classification.
References
Methods
|
Fit the spatial filters. |
|
Fit to data, then transform it. |
|
Get the estimator params. |
|
Set parameters (mimics sklearn API). |
|
Transform the data by the spatial filters. |
Fit the spatial filters.
EMS
Returns self.
Examples using fit
:
Compute effect-matched-spatial filtering (EMS)
Fit to data, then transform it.
Fits transformer to X
and y
with optional parameters
fit_params
, and returns a transformed version of X
.
Set parameters (mimics sklearn API).
dict
Extra parameters.
The instance.
Transform the data by the spatial filters.
array
, shape (n_epochs, n_channels, n_times)The input data.
array
, shape (n_epochs, n_times)The input data transformed by the spatial filters.
Examples using transform
:
Compute effect-matched-spatial filtering (EMS)
mne.decoding.EMS
#Compute effect-matched-spatial filtering (EMS)