diff --git a/saqc/funcs/constants.py b/saqc/funcs/constants.py index 083281d5db629aa7f0602dfef882fbaaf42cc46f..c0e642d6fd8b275f893e4bf168c312b62b4892f2 100644 --- a/saqc/funcs/constants.py +++ b/saqc/funcs/constants.py @@ -149,7 +149,7 @@ def flagByVariance( window, thresh, operator.lt, - min_periods=min_periods + min_periods=min_periods, ) flags[to_set[to_set].index, field] = flag diff --git a/saqc/funcs/noise.py b/saqc/funcs/noise.py index 7f94645cae51c35f35d3dc2e14c58355404078d7..c96f0f49ca7f2aa1ac7700f57d94083e8955c242 100644 --- a/saqc/funcs/noise.py +++ b/saqc/funcs/noise.py @@ -67,14 +67,7 @@ def flagByStatLowPass( sub_winsz = pd.Timedelta(sub_winsz) to_set = statPass( - datcol, - stat, - winsz, - thresh, - operator.gt, - sub_winsz, - sub_thresh, - min_periods + datcol, stat, winsz, thresh, operator.gt, sub_winsz, sub_thresh, min_periods ) flags[to_set[to_set].index, field] = flag return data, flags