craftutils.observation.epoch.ImagingEpoch.frame_class.correct_astrometry_from_other(other_image: ImagingImage, output_dir: str | None = None) ImagingImage

Uses the header information from an image that has already been corrected by the Astrometry.net code to apply the same tweak to this image. This assumes that both images had the same astrometry to begin with, eg if one is a derived version of the other. :param other_image: Header must contain both _RVAL and CRVAL keywords. :param output_dir: Path to write new fits file to. :return: