braindecode.preprocessing.exponential_moving_standardize¶
- braindecode.preprocessing.exponential_moving_standardize(data, factor_new=0.001, init_block_size=None, eps=0.0001)¶
Perform exponential moving standardization.
Compute the exponental moving mean
at time t as .Then, compute exponential moving variance
at time t as .Finally, standardize the data point
at time t as: .- Parameters
- data: np.ndarray (n_channels, n_times)
- factor_new: float
- init_block_size: int
Standardize data before to this index with regular standardization.
- eps: float
Stabilizer for division by zero variance.
- Returns
- standardized: np.ndarray (n_channels, n_times)
Standardized data.