I have looked at the documentation but I didn't find what I was looking for. All the explanations I could find on the web states that this is used to improve contrasts in images.
Look at this code for example(that is made to run on an astronomical FITS Image):
from astropy.visualization import ZScaleInterval
z = ZScaleInterval()
z1,z2 = z.get_limits(image_data)
plt.figure()
plt.imshow(image_data, vmin=z1, vmax=z2)
According to the documentation, get_limits
returns the minimum and maximum value in the interval based on the values provided. I'm guessing it means the maximum and minimum intensities. What do vmax
and vmin
do?