pyeeg.preprocess.Whitener.inverse

Whitener.inverse(X, axis=None)

Invert the whitening transform, approximately recovering the original (unwhitened) data.

The inverse uses the pseudo-inverse of W.T and adds back the stored mean self.mu.

Parameters:
  • X (ndarray) – Whitened data.

  • axis (int, optional) – Unused, kept for API compatibility.

Returns:

X_orig – Data in the original channel space, of the same shape as X.

Return type:

ndarray