rex.utilities.bc_utils

rex bias correction utilities.

Functions

sample_cdf(quantiles, x_values, n_samples)

Randomly draw a number of real values from a CDF.

sample_q_invlog(n_samples, log_base)

Sample quantiles from 0 to 1 while concentrating samples near quantile=1

sample_q_linear(n_samples)

Sample quantiles from 0 to 1 inclusive linearly with even spacing

sample_q_log(n_samples, log_base)

Sample quantiles from 0 to 1 while concentrating samples near quantile=0

Classes

QuantileDeltaMapping(params_oh, params_mh, ...)

Class for quantile delta mapping based on the method from Cannon et al., 2015