[AstroPy] Example using ZScaleInterval?

Gabriel Perren gabrielperren at gmail.com
Tue Nov 15 06:59:40 EST 2016


Thank you!

El mar., 15 de nov. de 2016 a la(s) 07:22, Simon Conseil <simon at sconseil.fr>
escribió:

> Hi,
>
> You can find an example in
> http://docs.astropy.org/en/stable/visualization/normalization.html#intervals-and-normalization
> with MinMaxInterval, and the same apply to ZScaleInterval and other
> Interval classes:
>
> from astropy.visualization import ZScaleInterval
> a = np.random.rand(100,100)
> interval = ZScaleInterval()
> interval.get_limits(a)
>
> Cheers,
>
> Simon
>
> Le 15/11/2016 à 02:47, Gabriel Perren a écrit :
>
> Hi,
>
> I'd like to use the ZScaleInterval class (
> http://docs.astropy.org/en/stable/api/astropy.visualization.ZScaleInterval.html)
> to calculate the (zmin,zmax) values to display a .fits file. I couldn't
> find any example anywhere.
>
> Cheers,
> Gabriel
>
>
> _______________________________________________
> AstroPy mailing listAstroPy at scipy.orghttps://mail.scipy.org/mailman/listinfo/astropy
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> https://mail.scipy.org/mailman/listinfo/astropy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20161115/257c55cd/attachment.html>


More information about the AstroPy mailing list