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 | |
input_names | list() -> new empty list |
n_inputs | int(x=0) -> int or long |
n_outputs | int(x=0) -> int or long |
param_names | list() -> new empty list |
Methods Summary
eval(*args, **kwargs) | Deprecated since version 1.0. |
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. |
inverse() | Inverse rotation. |
Attributes Documentation
Methods Documentation
Deprecated since version 1.0: The eval function is deprecated and may be removed in a future version. Use Rotation2D.evaluate instead.
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.
Parameters: | x, y : array, float
|
---|
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.
Parameters: | x, y : array, float
|
---|
Inverse rotation.