Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SaQC
Manage
Activity
Members
Labels
Plan
Issues
36
Issue boards
Milestones
Wiki
Code
Merge requests
8
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rdm-software
SaQC
Commits
750f6e1d
Commit
750f6e1d
authored
4 years ago
by
Peter Lünenschloß
Browse files
Options
Downloads
Patches
Plain Diff
flagRaise
parent
f26f8499
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!193
Release 1.4
,
!188
Release 1.4
,
!78
doc-string doc of test functionality
Pipeline
#5882
passed with stage
in 6 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
saqc/funcs/spikes_detection.py
+22
-0
22 additions, 0 deletions
saqc/funcs/spikes_detection.py
with
22 additions
and
0 deletions
saqc/funcs/spikes_detection.py
+
22
−
0
View file @
750f6e1d
...
...
@@ -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
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment