eelbrain.pipeline.EpochCovariance

class eelbrain.pipeline.EpochCovariance(epoch, method='empirical', keep_sample_mean=True, max_condition=1000000.0)[source]

Covariance estimated from epochs.

Parameters:
  • epoch (str) – Name of the epoch to estimate the covariance from.

  • method (str) – Covariance estimation method for mne.compute_covariance(), or 'best' to pick the magnetometer regularization whose whitened global field power is closest to 1.

  • keep_sample_mean (bool) – Keep the sample mean (see mne.compute_covariance()).

  • max_condition (float) – Limit the condition number of the covariance through regularization; see Covariance for details.