| thresh_rel | float | `0.1` | Minimum relative difference between two values to consider the latter as a break candidate. See condition (1) |
| thresh_abs | float | `0.01` | Minimum absolute difference between two values to consider the latter as a break candidate. See condition (2) |
| first_der_factor | float | `10` | Multiplication factor for arithmetic mean of the first derivatives surrounding a break candidate. See condition (3). |
| first_der_window | [offset string](docs/ParameterDescriptions.md#offset-strings) | `"12h"` | Window around a break candidate for which the arithmetic mean is calculated. See condition (3) |
| scnd_der_ratio_range | float | `0.05` | Maximum deviation from one of the ratio of the second derivatives of a break candidate and its preceding value. See condition (5) |
| scnd_der_ratio_thresh | float | `10.0` | Threshold for the ratio of the second derivatives of a break candidate and its succeeding value. See condition (5) |
| smooth | bool | `True` | Smooth the time series before differentiation using 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 smoothing with the Savitsky-Golay filter |
The function flags breaks (jumps/drops) by evaluating the derivatives of a time series.
A value $`x_k`$ of a time series $`x_t`$ with timestamps $`t_i`$, is considered to be a break, if:
1. $`x_k`$ represents a sufficiently large relative jump: