The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.stats.signatures.duration_curve_slope#

duration_curve_slope(series, l=0.1, u=0.9, normalize=False)[source]#

Slope of the head duration curve between percentile l and u after Oudin et al. [2010].

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

  • l (float, optional) – lower percentile, a float between 0 and 1, lower than u.

  • u (float, optional) – upper percentile, a float between 0 and 1, higher than l.

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

Returns

Slope of the head duration curve between percentile l and u.

Return type

float

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.