fast_limits

Contents

fast_limits#

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

Quickly estimate percentiles in an array, using a downsampled version.

Parameters:
data~numpy.ndarray

The array to estimate the percentiles for.

plo, phifloat

The percentiles.

Returns:
lo, hifloat

The percentile values.