ManualInterval

class astropy.visualization.ManualInterval(vmin=None, vmax=None)[source]

Bases: astropy.visualization.BaseInterval

Interval based on user-specified values.

Parameters
vminfloat, optional

The minimum value in the scaling. Defaults to the image minimum (ignoring NaNs)

vmaxfloat, optional

The maximum value in the scaling. Defaults to the image maximum (ignoring NaNs)

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
valuesndarray

The image values.

Returns
vmin, vmaxfloat

The mininium and maximum image value in the interval.