earthkit.meteo.stats.array

Statistical functions operating on numpy arrays.

Classes

GumbelDistribution

Gumbel distribution for extreme value statistics.

Functions

fit_gumbel(sample[, dim])

Gumbel distribution with parameters fitted to a sample of values.

iter_quantiles(arr[, which, dim, method])

Iterate over the quantiles of a large array.

nanaverage(data[, weights])

A merge of the functionality of np.nanmean and np.average.

return_period_to_value(return_period, dist)

Value for a given return period of a distribution of extremes.

value_to_return_period(value, dist)

Return period of a value given a distribution of extremes.