# EulerAngleRotation¶

class astropy.modeling.rotations.EulerAngleRotation(phi, theta, psi, axes_order, **kwargs)[source]

Bases: astropy.modeling.rotations._EulerRotation, astropy.modeling.Model

Implements Euler angle intrinsic rotations.

Rotates one coordinate system into another (fixed) coordinate system. All coordinate systems are right-handed. The sign of the angles is determined by the right-hand rule..

Parameters: phi, theta, psi : float or Quantity “proper” Euler angles in deg. If floats, they should be in deg. axes_order : str A 3 character string, a combination of ‘x’, ‘y’ and ‘z’, where each character denotes an axis in 3D space.

Attributes Summary

Methods Summary

 __call__(self, alpha, delta[, …]) Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated. evaluate(self, alpha, delta, phi, theta, psi) Evaluate the model on some input variables.

Attributes Documentation

inputs = ('alpha', 'delta')
outputs = ('alpha', 'delta')
param_names = ('phi', 'theta', 'psi')
phi = Parameter('phi', value=0.0)
psi = Parameter('psi', value=0.0)
theta = Parameter('theta', value=0.0)

Methods Documentation

__call__(self, alpha, delta, model_set_axis=None, with_bounding_box=False, fill_value=nan, equivalencies=None, inputs_map=None)

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

evaluate(self, alpha, delta, phi, theta, psi)[source]

Evaluate the model on some input variables.