est.core.monotonic#

Functions

create_slice(start, stop, step)

first_monotonic_size(values)

Determine the length of the first monotonically increasing or decreasing slice starting from the first value.

mean_nonzero(values)

Average non-zero value.

piecewise_monotonic_interpolation_values(...)

split_piecewise_monotonic(values)

The provided values are piecewise monotonic which means that it consists of sections that are either monotonically increasing (∀ i ≤ j, x[i] ≤ x[j]) or monotonically decreasing (∀ i ≤ j, x[i] ≥ x[j]).