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
3ead0c9b
Commit
3ead0c9b
authored
2 years ago
by
David Schäfer
Committed by
Bert Palm
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
`flagByStatLowPass` is overwriting existing flags
parent
183331b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!685
Release 2.4
,
!684
Release 2.4
,
!580
`flagByStatLowPass` is overwriting existing flags
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
saqc/funcs/noise.py
+5
-4
5 additions, 4 deletions
saqc/funcs/noise.py
with
6 additions
and
4 deletions
CHANGELOG.md
+
1
−
0
View file @
3ead0c9b
...
...
@@ -21,6 +21,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
-
`func`
arguments in text configurations were not parsed correctly
-
fail on duplicated arguments to test methods
-
`reample`
was not writing meta entries
-
`flagByStatLowPass`
was overwriting existing flags
## [2.3.0](https://git.ufz.de/rdm-software/saqc/-/tags/v2.3.0) - 2023-01-17
[
List of commits
](
https://git.ufz.de/rdm-software/saqc/-/compare/v2.2.1...v2.3.0
)
...
...
This diff is collapsed.
Click to expand it.
saqc/funcs/noise.py
+
5
−
4
View file @
3ead0c9b
...
...
@@ -13,9 +13,9 @@ from typing import TYPE_CHECKING, Callable
import
numpy
as
np
import
pandas
as
pd
from
saqc
import
BAD
from
saqc.core
import
flagging
from
saqc.lib.tools
import
statPass
from
saqc
.constants
import
BAD
from
saqc.core
.register
import
flagging
from
saqc.lib.tools
import
isflagged
,
statPass
if
TYPE_CHECKING
:
from
saqc
import
SaQC
...
...
@@ -95,5 +95,6 @@ class NoiseMixin:
sub_thresh
,
min_periods
,
)
self
.
_flags
[
to_set
,
field
]
=
flag
mask
=
~
isflagged
(
self
.
_flags
[
field
],
kwargs
[
"
dfilter
"
])
&
to_set
self
.
_flags
[
mask
,
field
]
=
flag
return
self
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