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
2e449ea7
Commit
2e449ea7
authored
4 years ago
by
Peter Lünenschloß
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of
https://git.ufz.de/rdm-software/saqc
into develop
parents
acc92264
2addca09
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!193
Release 1.4
,
!188
Release 1.4
Pipeline
#5336
passed with stage
in 6 minutes and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dios
+1
-1
1 addition, 1 deletion
dios
saqc/funcs/spikes_detection.py
+2
-0
2 additions, 0 deletions
saqc/funcs/spikes_detection.py
with
3 additions
and
1 deletion
dios
@
3d2d5945
Compare
e9a80225
...
3d2d5945
Subproject commit
e9a80225b02799fa668882149a39f4a734b4f280
Subproject commit
3d2d5945ef80beab65863f8159e03130ce760f9d
This diff is collapsed.
Click to expand it.
saqc/funcs/spikes_detection.py
+
2
−
0
View file @
2e449ea7
...
@@ -391,6 +391,8 @@ def spikes_flagSlidingZscore(
...
@@ -391,6 +391,8 @@ def spikes_flagSlidingZscore(
# prepare data, work on numpy arrays for the fulfilling pleasure of performance
# prepare data, work on numpy arrays for the fulfilling pleasure of performance
d
=
data
[
field
].
dropna
()
d
=
data
[
field
].
dropna
()
if
d
.
empty
:
return
data
,
flagger
all_indices
=
np
.
arange
(
len
(
d
.
index
))
all_indices
=
np
.
arange
(
len
(
d
.
index
))
x
=
(
d
.
index
-
d
.
index
[
0
]).
total_seconds
().
values
x
=
(
d
.
index
-
d
.
index
[
0
]).
total_seconds
().
values
y
=
d
.
values
y
=
d
.
values
...
...
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