Skip to content
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

DM-5280: Port afw changesets to LSST #54

Merged
merged 11 commits into from Mar 14, 2016
Merged

DM-5280: Port afw changesets to LSST #54

merged 11 commits into from Mar 14, 2016

Conversation

isullivan
Copy link
Contributor

Review of cherry-picked HSC commits to be merged.

@@ -1,30 +1,86 @@
import numpy as np
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the LSST legal boilerplate.

@PaulPrice PaulPrice changed the title Tickets/DM-5280 DM-5280: Port afw changesets to LSST Mar 10, 2016
@PaulPrice PaulPrice force-pushed the tickets/DM-5280 branch 3 times, most recently from d3603ad to f3f86d8 Compare March 10, 2016 21:21
Linear was already available with Q=0, but this way is clearer; the
default is to use min/max limits.

I also added AsinhZScaleMapping which uses the zscale code to set the
stretch.

I did not port the log mappings, as the C++ is not really something
I'd like to see in the long-term stack (e.g. reinterpret_casts between
ints and doubles). It would be easy to add a LogMapper in pure python,
and if this is needed please open a new issue.

The ZScale code comes from Mineo-san's fitsthumb, but doesn't give quite
the same upper limit as ds9.  I'm not sure where the discrepancy is, but
I don't think it matters.
@PaulPrice PaulPrice force-pushed the tickets/DM-5280 branch 3 times, most recently from 7fc2a87 to a5df69e Compare March 10, 2016 23:23
RobertLuptonTheGood and others added 3 commits March 10, 2016 20:15
…SC-1207

N.b. requires scipy which is not a dependency of afw.
This fixes the problem in setting nImage (wasn't being
done until makeMosaic was called), while not hurting the
API.
PaulPrice and others added 7 commits March 10, 2016 21:14
N.b. added some missing tests on matchXY, although it is unchanged by this
changeset
see discussion in HSC HipChat room, 2:10am, 2015-05-09
Use a common default Q value (RHL recommends 8-10, chose 8).
Use 'dataRange' instead of 'range' (which shadows a builtin).
Disable numpy warnings in default mapIntensityToUint8.
@PaulPrice PaulPrice merged commit e21f3e7 into master Mar 14, 2016
@ktlim ktlim deleted the tickets/DM-5280 branch August 25, 2018 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants