Skip to content
Snippets Groups Projects
Commit 750f6e1d authored by Peter Lünenschloß's avatar Peter Lünenschloß
Browse files

flagRaise

parent f26f8499
No related branches found
No related tags found
3 merge requests!193Release 1.4,!188Release 1.4,!78doc-string doc of test functionality
Pipeline #5882 passed with stage
in 6 minutes and 39 seconds
......@@ -310,7 +310,29 @@ def spikes_flagRaise(
numba_boost=True,
**kwargs,
):
"""
Parameters
----------
thresh : float
The threshold, for the total rise (thresh > 0), or total drop (thresh < 0), value courses must
not exceed within a timespan of length raise_window.
raise_window : str
An offset string, determining the timespan, the rise/drop thresholding refers to. Window is inclusively defined.
intended_freq : str
An offset string, determining The frequency, the timeseries to-be-flagged is supposed to be sampled at.
The window is inclusively defined.
average_window : {None, str}, default None
See condition (2) below. Window is inclusively defined. The window defaults to 1.5 times the size of
raise_window
mean_raise_factor : float, default 2
See condition (2) below.
min_slope : {None, float}, default None
See condition (3)
min_slope_weight : float, default 0.8
See condition (3)
numba_boost : bool, default True
"""
# NOTE1: this implementation accounts for the case of "pseudo" spikes that result from checking against outliers
# NOTE2: the test is designed to work on raw data as well as on regularized
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment