signatures#

Module containing methods to compute the groundwater signatures.

Part of the signatures selection is based on the work of Heudorfer et al. [2019].

Examples

Compute the coefficient of variation of the mean monthly head:

cv = ps.stats.cv_period_mean(series)

Functions#

cv_period_mean(series[, normalize, freq]) → float

Coefficient of variation of the mean head over a period (default monthly).

cv_date_min(series) → float

Coefficient of variation of the date of annual minimum head.

cv_date_max(series) → float

Coefficient of variation of the date of annual maximum head.

parde_seasonality(series[, normalize]) → float

Parde seasonality according to Pardé [1933], adapted for heads.

avg_seasonal_fluctuation(series[, normalize]) → float

Average seasonal fluctuation after Martens et al. [2013].

interannual_variation(series[, normalize]) → float

Interannual variation after Martens et al. [2013].

colwell_constancy(series[, bins, freq, method, normalize]) → tuple[float, float, float]

Colwells constancy index after Colwell [1974].

colwell_contingency(series[, bins, freq, method, ...]) → tuple[float, float, float]

Colwell's contingency Colwell [1974].

low_pulse_count(series[, quantile, rolling_window]) → float

Average number of times the series is below a certain threshold per year.

high_pulse_count(series[, quantile, rolling_window]) → float

Average number of times the series exceeds a certain threshold per year.

low_pulse_duration(series[, quantile, rolling_window]) → float

Average duration of pulses where the head is below a certain threshold.

high_pulse_duration(series[, quantile, rolling_window]) → float

Average duration of pulses where the head exceeds a certain threshold.

rise_rate(series[, normalize, rolling_window]) → float

Mean of positive head changes from one day to the next.

fall_rate(series[, normalize, rolling_window]) → float

Mean negative head changes from one day to the next.

cv_rise_rate(series[, normalize, rolling_window]) → float

Coefficient of Variation in rise rate.

cv_fall_rate(series[, normalize, rolling_window]) → float

Coefficient of Variation in fall rate.

magnitude(series) → float

Calculate the magnitude of head variability.

reversals_avg(series) → float

Average annual number of rises and falls in daily head.

reversals_cv(series) → float

Coefficient of Variation in annual number of rises and falls.

mean_annual_maximum(series[, normalize]) → float

Mean of annual maximum head after Clausen and Biggs [2000].

bimodality_coefficient(series[, normalize]) → float

Bimodality coefficient after Ellison [1987].

recession_constant(series[, bins, normalize, ...]) → float

Recession constant adapted after Kirchner [2009].

recovery_constant(series[, bins, normalize, ...]) → float

Recovery constant after Kirchner [2009].

duration_curve_slope(series[, l, u, normalize]) → float

Slope of the head duration curve.

duration_curve_ratio(series[, l, u, normalize]) → float

Ratio of the head duration curve.

richards_pathlength(series[, normalize]) → float

Compute the path length of the time series, standardized by time series length.

baselevel_index(series[, normalize, period]) → float

Compute Base level index (BLI).

baselevel_stability(series[, normalize, period]) → float

Baselevel stability after Heudorfer et al. [2019].

autocorr_time(series[, cutoff]) → float

Lag where the autocorrelation function exceeds a cut-off value.

date_min(series) → float

Compute the average date of the minimum head value with circular statistics.

date_max(series) → float

Compute the average date of the maximum head value with circular statistics.