craftutils.observation.epoch.FORS2ImagingEpoch.correct_astrometry_frames(output_dir: str, frames: dict | None = None, **kwargs)

Uses astrometry.net with Gaia DR3 indices to correct the WCS of a set of individual exposures associated with this epoch.

Parameters
output_dir: str

frames: dict | None = None

A “frames” dictionary ({“filter_name”: [image_objects]}) containing the images to solve.

**kwargs

method: method with which to solve astrometry of epoch. Allowed values are:
individual: each frame, including separate chips in the same exposure, will be passed to astrometry.net

individually. Of the options, this is the most likely to result in an error, especially if the FOV is small; it will also slightly degrade the PSF of the stacked image, as although the accuracy of the WCS of the individual frames is increased, slight errors will be introduced between frames.

pairwise: the upper-chip image of each pair will first be passed to astrometry.net, and its solution

propagated to the bottom chip. If a solution is not found for the top chip, the reverse will be attempted. This method is not recommended, as it will incorrectly capture distortions in the unsolved chip.

propagate_from_single: Each upper-chip image is passed to astrometry.net until a solution is found; this

solution is then propagated to all other upper-chip images. The same is repeated for the lower chip. THIS CAN GIVE COARSE RESULTS ONLY.

Returns