Bases: astropy.modeling.Model
Perform an affine transformation in 2 dimensions.
Parameters: | matrix : array
translation : array
|
---|
Attributes Summary
matrix | |
n_inputs | int(x[, base]) -> integer |
n_outputs | int(x[, base]) -> integer |
param_names | list() -> new empty list |
standard_broadcasting | bool(x) -> bool |
translation |
Methods Summary
__call__(*inputs, **kwargs) | 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
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.