pastas.stats.signatures.high_pulse_count#

high_pulse_count(series, quantile=0.8)[source]#

Number of times the series exceeds a certain threshold.

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

  • quantile (float, optional) – Quantile used as a threshold.

Returns

h – Number of times the series exceeds a certain threshold.

Return type

int

Notes

Number of times during which the groundwater head exceeds a certain threshold. The threshold is defined as the 80th percentile of nonexceedance.

References

richter_1996

Richter, B. D. (1996). A method for assessing hydrologic alteration within ecosystems. Society for Conservation Biology, 10(4), 1163–1174.