pastas.stats.signatures.duration_curve_slope ============================================ .. py:function:: pastas.stats.signatures.duration_curve_slope(series: pandas.Series, l: float = 0.1, u: float = 0.9, normalize: bool = False) -> float Slope of the head duration curve between percentile l and u after :cite:t:`oudin_are_2010`. :param series: Pandas Series with DatetimeIndex and head values. :type series: pandas.Series :param l: lower percentile, a float between 0 and 1, lower than u. :type l: float, optional :param u: upper percentile, a float between 0 and 1, higher than l. :type u: float, optional :param normalize: normalize the time series to values between zero and one. :type normalize: bool, optional :returns: Slope of the head duration curve between percentile l and u. :rtype: float .. rubric:: Notes Slope of the head duration curve between percentile l and u. The more negative the slope, the more values are above or below the percentile l and u, and vice versa. Note that the slope is negative, contrary to the flow duration curve commonly used in surface water hydrology. .. !! processed by numpydoc !!