Skip to content
Snippets Groups Projects
Commit 2b11487b authored by David Schäfer's avatar David Schäfer
Browse files

parameter reordering

parent 7231ac82
No related branches found
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@ Currently two outlier detection methods are implemented:
```
spikes_spektrumBased(raise_factor=0.15, deriv_factor=0.2,
noise_thresh=1, noise_window="12h", noise_func="CoVar",
smooth_poly_deg=2, smooth_window=None)
smooth_window=None, smooth_poly_deg=2)
```
| parameter | data type | default value | description |
......@@ -144,8 +144,8 @@ spikes_spektrumBased(raise_factor=0.15, deriv_factor=0.2,
| noise_thresh | float | `1` | Upper threshold for noisiness of data surrounding potential spikes. See condition (3) |
| noise_window | [offset string](docs/ParameterDescriptions.md#offset-strings) | `"12h"` | Determines the range of the time window of the "surrounding" data of a potential spike. See condition (3) |
| noise_func | [string](#noise-detection-functions) | `"CoVar"` | Function to calculate noisiness of data, surrounding potential spikes |
| smooth_poly_deg | integer | `2` | Degree of the polynomial used for fitting with the Savitsky-Golay filter |
| smooth_window | [offset string](docs/ParameterDescriptions.md#offset-strings) | `None` | Size of the smoothing window of the Savitsky-Golay filter. The default value `None` results in a window of two times the sampling rate (i.e. three values) |
| smooth_poly_deg | integer | `2` | Degree of the polynomial used for fitting with the Savitsky-Golay filter |
The function flags spikes by evaluating the time series' derivatives
......
......@@ -278,8 +278,8 @@ def flagSpikes_spektrumBased(
noise_thresh=1,
noise_window="12h",
noise_func="CoVar",
smooth_ploy_deg=2,
smooth_window=None,
smooth_ploy_deg=2,
**kwargs,
):
"""
......
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