Bases: astropy.modeling.Model
Perform an affine transformation in 2 dimensions.
| Parameters: | matrix : array
translation : array
|
|---|
Attributes Summary
| inputs | |
| matrix | |
| outputs | |
| param_names | |
| standard_broadcasting | |
| translation |
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, 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. |
Attributes Documentation
Methods Documentation
Evaluate this model using the given input(s) and the parameter values that were specified when the model was instantiated.
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
|
|---|