mne.decoding.
compute_ems
(epochs, conditions=None, picks=None, n_jobs=1, verbose=None, cv=None)[source]¶Compute event-matched spatial filter on epochs.
This version of EMS [R39] 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.
Parameters: | epochs : instance of mne.Epochs
conditions : list of str | None, defaults to None
picks : array-like of int | None, defaults to None
n_jobs : int, defaults to 1
verbose : bool, str, int, or None, defaults to self.verbose
cv : cross-validation object | str | None, defaults to LeaveOneOut
|
---|---|
Returns: | surrogate_trials : ndarray, shape (n_trials // 2, n_times)
mean_spatial_filter : ndarray, shape (n_channels, n_times)
conditions : ndarray, shape (n_classes,)
|
References
[R39] | (1, 2) Aaron Schurger, Sebastien Marti, and Stanislas Dehaene, “Reducing multi-sensor data to a single time course that reveals experimental effects”, BMC Neuroscience 2013, 14:122 |
mne.decoding.compute_ems
¶