| noise_barrier | float | `1` | Upper bound for noisyness of data surrounding potential spikes. See condition (3).|
| noise_window_range | string | `"12h"` | Range of the timewindow of the "surrounding" data of a potential spike. See condition (3). |
| noise_statistic | string | `"CoVar"` | Operator to calculate noisyness of data, surrounding potential spike. Either "Covar" (=Coefficient od Variation) or "rvar" (=relative Variance).|
| smooth_poly_order | integer | `2` | Order of the polynomial fit, applied for smoothing|
| filter_window_size | string | `None` | Range of the smoothing window. The default value (='None') results in a window range, equalling 3 times the sampling rate and thus including always 3 values in a smoothing window. |
### Description
### Description
The function detects and flags spikes in input data series by evaluating the
The function detects and flags spikes in input data series by evaluating the
...
@@ -166,32 +209,41 @@ Dorigo,W,.... Global Automated Quality Control of In Situ Soil Moisture
...
@@ -166,32 +209,41 @@ Dorigo,W,.... Global Automated Quality Control of In Situ Soil Moisture
Data from the international Soil Moisture Network. 2013. Vadoze Zone J.
Data from the international Soil Moisture Network. 2013. Vadoze Zone J.
doi:10.2136/vzj2012.0097.
doi:10.2136/vzj2012.0097.
All parameters default to the values given there.
| parameter | data format | description |
## `constant`
| ------ | ------ | ------ |
| raise_factor | Float. (0.15). | Minimum change margin for a datapoint to become a candidate for a spike. See condition (1). |
| dev_cont_factor | Float. (0.2). | See condition (2). |
| noise_barrier| Float. (1). | Upper bound for noisyness of data surrounding potential spikes. See condition (3).|
| noise_window_range| Offset String. ("12h"). | Range of the timewindow of the "surrounding" data of a potential spike. See condition (3). |
| noise_statistic| String. ("CoVar"). | Operator to calculate noisyness of data, surrounding potential spike. Either "Covar" (=Coefficient od Variation) or "rvar" (=relative Variance).|
| smooth_poly_order| Integer. | Order of the polynomial fit, applied for smoothing|
| filter_window_size | Offset String. (None) | Range of the smoothing window. The default value (='None') results in a window range, equalling 3 times the sampling rate and thus including always 3 values in a smoothing window. |
## constant
### Signature
### Signature
```
```
constant(eps, length, thmin=None)
constant(eps, length, thmin=None)
```
```
### Parameters
| parameter | data type | default value | description |