AsymmetricPercentileInterval#
- class astropy.visualization.AsymmetricPercentileInterval(lower_percentile=None, upper_percentile=None, n_samples=None)[source]#
 Bases:
BaseIntervalInterval based on a keeping a specified fraction of pixels (can be asymmetric).
- Parameters:
 - lower_percentile
python:floatorpython:None The lower percentile below which to ignore pixels. If None, then defaults to 0.
- upper_percentile
python:floatorpython:None The upper percentile above which to ignore pixels. If None, then defaults to 100.
- n_samples
python:int, optional Maximum number of values to use. If this is specified, and there are more values in the dataset as this, then values are randomly sampled from the array (with replacement).
- lower_percentile
 
Methods Summary
get_limits(values)Return the minimum and maximum value in the interval based on the values provided.
Methods Documentation