spkit
.filter_powerline¶
- spkit.filter_powerline(X, fs=1000, powerline=50)¶
Remove Powerline interefences
Equivilent to lowpass butterworth filter of order 1
- Parameters:
- X: array, (n,) or (n,ch)
1d-array signal, or multi-channel signal
- fs: int, default=1000
sampling frequency
- powerline: int {50,60}
powerline interfence 50Hz, or 60Hz
- Returns:
- Xf: same size as input X
filtered signal
See also
spkit
#TODO
Notes
#TODO
References
wikipedia -
Examples
>>> import numpy as np >>> import spkit as sp