pastas.stats.signatures.date_max#

pastas.stats.signatures.date_max(series: pandas.Series) float#

Compute the average date of the maximum head value with circular statistics.

Parameters:

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

Returns:

Average date of the maximum head value.

Return type:

float

Notes

Average date of the maximum head value. The higher the date, the later the maximum head value occurs in the year, and vice versa.

The average date is computed by taking the average of the day of the year of the maximum head value for each year, using circular statistics. We refer to Fisher [1995] (page 31) for more information on circular statistics.