pastas.stats.signatures.richards_pathlength#

richards_pathlength(series, normalize=True)[source]#

The path length of the time series, standardized by time series length.

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

  • normalize (bool, optional) – normalize the time series to values between zero and one.

Return type

float

Notes

The path length of the time series, standardized by time series length and the median head.

References

baker_2004

Baker, D. B., Richards, P., Loftus, T. T., & Kramer, J. W. (2004). A new flashiness index: Characteristics and applications to midwestern rivers and streams. Journal of the American Water Resources Association, 40(2), 503–522.