Rotation3DToGWA¶
-
class
jwst.transforms.models.Rotation3DToGWA(angles, axes_order, name=None)[source]¶ Bases:
astropy.modeling.core.ModelPerform a 3D rotation given an angle in degrees.
Positive angles represent a counter-clockwise rotation and vice-versa.
Parameters: - angles (array-like) – Angles of rotation in deg in the order of axes_order.
- axes_order (str) – A sequence of ‘x’, ‘y’, ‘z’ corresponding of axis of rotation/
Attributes Summary
anglesinputsoutputsparam_namesseparablestandard_broadcastingMethods Summary
__call__(x, y, z[, model_set_axis, …])Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated. evaluate(x, y, z, angles)Apply the rotation to a set of 3D Cartesian coordinates. Attributes Documentation
-
angles¶
-
inputs= ('x', 'y', 'z')¶
-
outputs= ('x', 'y', 'z')¶
-
param_names= ('angles',)¶
-
separable= False¶
-
standard_broadcasting= False¶
Methods Documentation
-
__call__(x, y, z, model_set_axis=None, with_bounding_box=False, fill_value=nan, equivalencies=None)¶ Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.