Adding wavelet-based flagging of outlierish plateaus.
Based on the idea of searching for ricker-wavelet patterns, at decompositionscales generated by themselfs, a quite powerful, parameter minimal algorithm/workflow was sketched out and implemented.
Based only on the minimal and maximal length of plateus to be detected, the algorithm seems to perform well on highly volatile and noisy test data.
Example data set was generated by
base1
)base2
)base3
)Flagging result for the call:
qc = qc.flagPlateau('base3', min_length='100min', max_length='7d')
Looks as follows (overview):
Zoomed in on the flagged chunks: