V23ToSky

class jwst.transforms.models.V23ToSky(angles, axes_order, name=None)[source]

Bases: jwst.transforms.models.Rotation3D

Transform from V2V3 to a standard coordinate system (ICRS).

Parameters:
  • angles (list) – A sequence of angles (in deg). The angles are [-V2_REF, V3_REF, -ROLL_REF, -DEC_REF, RA_REF].
  • axes_order (str) – A sequence of characters (‘x’, ‘y’, or ‘z’) corresponding to the axis of rotation and matching the order in angles. The axes are “zyxyz”.

Attributes Summary

inputs Coordinates in the (V2, V3) telescope frame.
outputs RA, DEC cooridnates in ICRS.
param_names

Methods Summary

__call__(v2, v3) Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
cartesian2spherical(x, y, z) Convert cartesian coordinates to spherical coordinates (in deg).
evaluate(v2, v3, angles) Apply the rotation to a set of 3D Cartesian coordinates.
spherical2cartesian(alpha, delta) Convert spherical coordinates (in deg) to cartesian.

Attributes Documentation

inputs = ('v2', 'v3')

Coordinates in the (V2, V3) telescope frame.

Type:(“v2”, “v3”)
outputs = ('ra', 'dec')

RA, DEC cooridnates in ICRS.

Type:(“ra”, “dec”)
param_names = ('angles',)

Methods Documentation

__call__(v2, v3)[source]

Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.

static cartesian2spherical(x, y, z)[source]

Convert cartesian coordinates to spherical coordinates (in deg).

evaluate(v2, v3, angles)[source]

Apply the rotation to a set of 3D Cartesian coordinates.

static spherical2cartesian(alpha, delta)[source]

Convert spherical coordinates (in deg) to cartesian.