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

matchOptimisticB: correct for distortion DM-3492 #18

Merged
merged 8 commits into from Aug 26, 2015
Merged

Conversation

SimonKrughoff
Copy link
Contributor

We use the estimated distortion (in the form of a DistortedTanWcs)
to correct the source positions. Both distortion-corrected source
and reference sky coordinates are projected using a simple linear
Wcs, and an offset applied to bring them as close together as
possible.

@PaulPrice PaulPrice force-pushed the tickets/DM-3492 branch 2 times, most recently from 8a9e613 to 9a5ccd3 Compare August 20, 2015 05:13
We use the estimated distortion (in the form of a DistortedTanWcs)
to correct the source positions.  Both distortion-corrected source
and reference sky coordinates are projected using a simple linear
Wcs.
The input Wcs we've been given is a wild guess, but matching
doesn't provide a Wcs we can use as our initial guess for fitting.
We generate the guess Wcs from the match list and the pixel scale
from the input Wcs.
We can get some rogue matches which should be rejected as part
of the Wcs fitting (but that's not done in CreateWcsWithSip).
To help visualise the rejection, added some plots of the
residuals.
allowedNonperpDeg was converted to radians, but then compared
against a number that is in degrees.  Removed the radians
version.
allowedNonperpDeg was converted to radians, but then compared
against a number that is in degrees.  Converted theta to use
Angle to reduce confusion.
@PaulPrice PaulPrice merged commit 758310a into master Aug 26, 2015
@ktlim ktlim deleted the tickets/DM-3492 branch August 25, 2018 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants