V23ToSky

class jwst.transforms.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

n_inputs

n_outputs

outputs

Methods Summary

__call__(v2, v3, **kwargs)

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
n_inputs = 2
n_outputs = 2
outputs

Methods Documentation

__call__(v2, v3, **kwargs)[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.