astropy:docs

RotateNative2Celestial

class astropy.modeling.rotations.RotateNative2Celestial(phi, theta, psi)[source] [edit on github]

Bases: astropy.modeling.rotations.EulerAngleRotation

Transformation from Native to Celestial Spherical Coordinates.

Defines a ZXZ rotation.

Parameters:

phi, theta, psi : float

Euler angles in deg

Attributes Summary

input_names list() -> new empty list

Methods Summary

__call__(phi_N, theta_N)
evaluate(phi_N, theta_N, phi, theta, psi) Evaluate ZXZ rotation into celestial coordinates.
inverse()

Attributes Documentation

input_names = ['phi_N', 'theta_N']

Methods Documentation

__call__(phi_N, theta_N)[source] [edit on github]
classmethod evaluate(phi_N, theta_N, phi, theta, psi)[source] [edit on github]

Evaluate ZXZ rotation into celestial coordinates.

Note currently the parameter values are passed in as degrees so we need to convert all inputs to radians and all outputs back to degrees.

inverse()[source] [edit on github]

Page Contents