pastas.stats.signatures.high_pulse_count ======================================== .. py:function:: pastas.stats.signatures.high_pulse_count(series: pandas.Series, quantile: float = 0.8, rolling_window: str | None = '7D') -> float Average number of times the series exceeds a certain threshold per year. :param series: Pandas Series with DatetimeIndex and head values. :type series: pandas.Series :param quantile: Quantile used as a threshold. :type quantile: float, optional :param rolling_window: Rolling window to use for smoothing the time series. Default is 7 days. Set to None to disable. See the pandas documentation for more information. :type rolling_window: str, optional :returns: Average number of times the series exceeds a certain threshold per year. :rtype: float .. rubric:: Notes Number of times during which the head exceeds a certain threshold. The threshold is defined as the 80th percentile of non-exceedance. .. warning:: This method is sensitive to measurement noise, e.g., every change is sign in the differences is counted as a pulse. Therefore, it is recommended to smooth the time series first (which is also the default). .. !! processed by numpydoc !!