Open
Description
From a request from a colleague:
-
precisely register two images, one to the other
- typically two HST images, although possibly not with the same camera (e.g. ACS vs WFC3)
- sometimes one image is ground-based, one image is space-based
- procedure is to obtain accurate centroids of stars in common between the 2 image datasets, and then use
geomap
to determine the astrometric solution to transform image 2 to image 1 withgeotran
orgeoxytran
- this does not use the WCS for each image; it is purely in pixel coordinates. The application is to map the pixel position of the celestial object in one image to pixel position in the other.
-
Second procedure used sometimes but less frequently than the first, is to determine the WCS/plate solution by hand for an image, using
ccmap
, again with accurate centroids for a number of stars which save, say, Gaia EDR3 counterparts. Then apply with WCS to a centroid list from the image usingcctran
.
How can someone do these things in Astropy or any of the other available Python-based tools?