Warns before a falling level runs out, by projecting its rate of fall.
Creates an estimator that counts down to threshold.
threshold
Records a level and returns the samples left before the threshold.
Returns null while the level is steady or rising, and on the first reading, when no rate of fall is known yet.
null
Warns before a falling level runs out, by projecting its rate of fall.