calc_transforms

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

Calculate transforms which determine reference point celestial WCS.

This implements Eq. 3 from Technical Report JWST-STScI-003222, SM-12. Rev. C, 2021-11 From Section 3:

The Direction Cosine Matrix (DCM) that provides the transformation of a unit pointing vector defined in inertial frame (ECI J2000) coordinates to a unit vector defined in the science aperture Ideal frame coordinates is defined as [follows.]

Parameters:
t_parsTransformParameters

The transformation parameters. Parameters are updated during processing.

Returns:
transformsTransforms

The list of coordinate matrix transformations.