MinMaxInterval

class astropy.visualization.MinMaxInterval[source]

Bases: astropy.visualization.BaseInterval

Interval based on the minimum and maximum values in the data.

Methods Summary

get_limits(self, values) Return the minimum and maximum value in the interval based on the values provided.

Methods Documentation

get_limits(self, values)[source]

Return the minimum and maximum value in the interval based on the values provided.

Parameters:
values : ndarray

The image values.

Returns:
vmin, vmax : float

The mininium and maximum image value in the interval.