RotateCelestial2Native¶
-
class
astropy.modeling.rotations.
RotateCelestial2Native
[source] [edit on github]¶ Bases:
astropy.modeling.rotations.EulerAngleRotation
Transformation from Celestial to Native to Spherical Coordinates.
Defines a ZXZ rotation.
Parameters: phi, theta, psi : float
Euler angles in deg
Attributes Summary
inputs
inverse
outputs
Methods Summary
__call__
(alpha_C, delta_C[, model_set_axis])Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated. evaluate
(alpha_C, delta_C, phi, theta, psi)Evaluate ZXZ rotation into native coordinates. Attributes Documentation
-
inputs
= (u'alpha_C', u'delta_C')¶
-
inverse
¶
-
outputs
= (u'phi_N', u'theta_N')¶
Methods Documentation
-
__call__
(alpha_C, delta_C, model_set_axis=None) [edit on github]¶ Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
-
classmethod
evaluate
(alpha_C, delta_C, phi, theta, psi)[source] [edit on github]¶ Evaluate ZXZ rotation into native coordinates.
This is like RotateNative2Celestial.evaluate except phi and psi are swapped in ZXZ rotation.
-