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

implementation leftover removed (sorry)

parent 147e5dd3
No related branches found
No related tags found
2 merge requests!193Release 1.4,!188Release 1.4
Pipeline #5357 passed with stage
in 10 minutes and 6 seconds
...@@ -756,9 +756,6 @@ def spikes_flagGrubbs(data, field, flagger, winsz, alpha=0.05, min_periods=8, ch ...@@ -756,9 +756,6 @@ def spikes_flagGrubbs(data, field, flagger, winsz, alpha=0.05, min_periods=8, ch
if partition.shape[0] > min_periods: if partition.shape[0] > min_periods:
detected = smirnov_grubbs.two_sided_test_indices(partition['data'].values, alpha=alpha) detected = smirnov_grubbs.two_sided_test_indices(partition['data'].values, alpha=alpha)
detected = partition['ts'].iloc[detected] detected = partition['ts'].iloc[detected]
if not detected.empty:
print(detected)
print('stop')
to_flag_lagged[detected.index] = True to_flag_lagged[detected.index] = True
to_flag = to_flag & to_flag_lagged to_flag = to_flag & to_flag_lagged
......
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