pastas.stats.signatures.duration_curve_ratio ============================================ .. py:function:: pastas.stats.signatures.duration_curve_ratio(series: pandas.Series, l: float = 0.1, u: float = 0.9, normalize: bool = True) -> float Ratio of the head duration curve between the percentile l and u after :cite:t:`richards_measures_1990`. :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 :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: Ratio of the duration curve between the percentile l and u. :rtype: float .. rubric:: Notes Ratio of the duration curve between the percentile l and u. The higher the ratio, the flatter the head duration curve, and vice versa. .. !! processed by numpydoc !!