braindecode.preprocessing.exponential_moving_demean¶
- braindecode.preprocessing.exponential_moving_demean(data, factor_new=0.001, init_block_size=None)¶
Perform exponential moving demeanining.
Compute the exponental moving mean
at time t as .Deman the data point
at time t as: .- Parameters
- data: np.ndarray (n_channels, n_times)
- factor_new: float
- init_block_size: int
Demean data before to this index with regular demeaning.
- Returns
- demeaned: np.ndarray (n_channels, n_times)
Demeaned data.