ecg-classification
ecg-classification copied to clipboard
To compute the baseline of the signal
''Two median filters are applied for this purpose, of 200-ms and 600-ms. Note that this values depend on the frequency sampling of the signal. from scipy.signal import medfilt ...
# median_filter1D
baseline = medfilt(MLII, 71)
baseline = medfilt(baseline, 215)
'' How to compute this values according to my frequency sampling? And what's your frequency sampling?