The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.stats.signatures.reversals_avg#

reversals_avg(series)[source]#

Average annual number of rises and falls in daily head.

Parameters

series (pandas.Series) – Pandas Series with DatetimeIndex and head values.

Returns

Average number of rises and falls in daily head per year.

Return type

float

Notes

Average annual number of rises and falls (i.e., change of sign) in daily head [Richter et al., 1996]. The higher the number of reversals, the more variable the head is, and vice versa. If the head data is not daily, a warning is issued and nan is returned.