New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement zscale stretch #4773
Comments
We use an implementation of zscale which can be found at several places (used also in Ginga) but seems to be based on the one of stsci_python/numdisplay: |
@saimn - yes, since the licenses are compatible that would be an option! |
c/c @parejkoj |
I have an implementation from @ctslater already checked in to the lupton_rgb branch I'm working on (where I needed this): https://github.com/parejkoj/astropy/blob/luptonRGB/astropy/visualization/lupton_rgb.py#L38 |
@astrofrog - Can be closed. |
Thanks! |
See this thread for details on how to implement this. If I understand correctly, this should be implemented as an interval class since it should ultimately return a min/max for scaling.
The text was updated successfully, but these errors were encountered: