Bases: astropy.modeling.Model
Perform a 2D rotation given an angle in degrees.
Positive angles represent a counter-clockwise rotation and vice-versa.
Parameters: | angle : float
|
---|
Attributes Summary
angle | |
inputs | |
inverse | Inverse rotation. |
outputs | |
param_names |
Methods Summary
__call__(x, y[, 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, angle) | Apply the rotation to a set of 2D Cartesian coordinates given as two lists–one for the x coordinates and one for a y coordinates–or a single coordinate pair. |
Attributes Documentation
Inverse rotation.
Methods Documentation
Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
Apply the rotation to a set of 2D Cartesian coordinates given as two lists–one for the x coordinates and one for a y coordinates–or a single coordinate pair.