update_wcs¶
- sofia_redux.instruments.forcast.undistort.update_wcs(header, transform, eps=None)[source]¶
Update the WCS in the header according to the transform
- Parameters:
- headerastropy.io.fits.header.Header
FITS header to update
- transform
A function that transforms input coordinates to output coordinates. numpy.ndarray (2, N) -> (2, N)
- epsfloat, optional
precision
- Returns:
- dict
contains output from find_pixat11 with an additional key, ‘update_cdelt’. update_cdelt will be True if CDELT1 and CDELT2 were successfully updated and False otherwise.