GalSim-developers / GalSim

The modular galaxy image simulation toolkit. Documentation:
http://galsim-developers.github.io/GalSim/
Other
224 stars 106 forks source link

Add FittedSIPWCS #1092

Closed jmeyers314 closed 4 years ago

jmeyers314 commented 4 years ago

Adds function that fits a TAN-SIP WCS to a list of reference image and celestial coordinates.

For the reference WCS's in tests/fits_files, this gets down to milliarcsec precision with SIP order 7. The one exception is the ZPN WCS, which is only good to ~arcsec or so. I'm not sure what's different about this one.

Not visible in this PR, but ~microarcsec precision appears possible for each Rubin Obs CCD using just a 3rd order SIP, so long as tangent plane point is near the center of the CCD.

jmeyers314 commented 4 years ago

@rmjarvis , I think this is ready now.