AffineTransform
A simple AffineTranform implementation of the TransformationFunction abstract base class
__init__(self, tmat, shift=None):
tmat must be a transformation matrix to work properly
shift:np.ndarray | Nonethe shift for the transformation
tmat:np.ndarraythe matrix for the linear transformation
@property
transform(self):
@property
inverse(self):
Returns the inverse of the transformation
:returns:_
@property
shift(self):
merge(self, other):
other:np.ndarray or AffineTransform
reverse(self):
Inverts the matrix
:returns:_
operate(self, coords, shift=True):
coords:np.ndarrythe array of coordinates passed in
__repr__(self):