has_sudden_changes

has_sudden_changes(values, *, upwards=True, downwards=True, window=5, iqr_factor=1.5, relative_epsilon=0.05)[source]

Checks if an array has any sudden changes for all values relative to the previous window values.