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

Tickets/dm 2471 -- astrometry has a bug in retrieving TAN_PIXELS and it exposes the need for a better API #19

Merged
merged 4 commits into from Apr 3, 2015

Conversation

SimonKrughoff
Copy link
Contributor

No description provided.

Add overloaded member functions hasTransform and getTransform to cameraGeom Detector,
which accept a CameraSys or a CameraSysPrefix. This greatly simplifies getting
appropriate transforms from the detector's transform map, since one need not explicitly
first generate a CameraSys for that detector.
Added a test for the new functions to testDetector.py.
Made a minor improvement to documentation in TransformMap.h

Fix grammatical errors in two doc strings.
image/utils.py contained a function clipImage that was not used anywhere.
not tested, and badly broken. At RHL's request I fixed it to the point of making
pyflakes happy and will file a ticket for RHL to add a unit test.
I also added from __future__ import absolute_import, division

Fix image.utils.clipImage, or at least make pyflakes linter happy
Added a new function lsst.image.utils.getDistortedWcs.
Added a unit test for it. To write the unit test I added a new "modFunc" argument to
cameraGeom.getUtils.DetectorWraper.__init__ to allow flexibile modification of wrapper
attributes just before constructing the Detector. Finally, I used that new modFunc argument
to replace two other arguments and updated the test that used those other arguments
to use modFunc instead.

Switch from using cast_TanWcs to TanWcs.cast

Fix a typo in a doc string.
@r-owen r-owen merged commit 3937a7a into master Apr 3, 2015
@ktlim ktlim deleted the tickets/DM-2471 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

2 participants