pyhctsa.operations.extreme_events.moving_threshold¶
-
pyhctsa.operations.extreme_events.moving_threshold(y, a=
1.0, b=0.1)¶ Moving threshold model for extreme events in a time series.
Inspired by an idea contained in Altmann et al. (2006) [1].
This algorithm uses the occurrence of extreme events to modify a hypothetical ‘barrier’ that classifies new points as ‘extreme’ or not. The barrier begins at sigma (standard deviation), and if the absolute value of the next data point is greater than the barrier, the barrier is increased by a proportion ‘a’, otherwise the position of the barrier is decreased by a proportion ‘b’.
References