rex.utilities.bc_utils.sample_q_linear

sample_q_linear(n_samples)[source]

Sample quantiles from 0 to 1 inclusive linearly with even spacing

Parameters:

n_samples (int) – Number of points to sample between 0 and 1

Returns:

quantiles (np.ndarray) – 1D array of evenly spaced samples from 0 to 1