Bases: astropy.modeling.Model
Perform an affine transformation in 2 dimensions.
| Parameters: | matrix : array
translation : array
|
|---|
Attributes Summary
| input_names | list() -> new empty list |
| matrix | |
| n_inputs | int(x=0) -> int or long |
| n_outputs | int(x=0) -> int or long |
| param_names | list() -> new empty list |
| standard_broadcasting | bool(x) -> bool |
| translation |
Methods Summary
| eval(*args, **kwargs) | Deprecated since version 1.0. |
| evaluate(x, y, matrix, translation) | Apply the transformation 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 transformation. |
Attributes Documentation
Methods Documentation
Deprecated since version 1.0: The eval function is deprecated and may be removed in a future version. Use AffineTransformation2D.evaluate instead.
Apply the transformation 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 transformation 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 transformation.
Raises InputParameterError if the transformation cannot be inverted.