calc_wcs

jwst.lib.set_telescope_pointing.calc_wcs(t_pars: TransformParameters)[source]

Calculate WCS.

Given observatory orientation and target aperture, calculate V1 and Reference Pixel sky coordinates.

Parameters:
t_parsTransformParameters

The transformation parameters. Parameters are updated during processing.

Returns:
wcsinfo, vinfo, transformsWCSRef, WCSRef, Transforms

A 3-tuple is returned with the WCS pointing for the aperture and the V1 axis, and the transformation matrices.