fast_limits

glue.utils.matplotlib.fast_limits(data, plo, phi)[source]

Quickly estimate percentiles in an array, using a downsampled version

Parameters
datanumpy.ndarray

The array to estimate the percentiles for

plo, phifloat

The percentile values

Returns
lo, hifloat

The percentile values