AffineTransform
A simple AffineTranform implementation of the TransformationFunction abstract base class
Properties and Methods
__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
shift(self):
merge(self, other):
other:np.ndarray or AffineTransformNo description…
reverse(self):
Inverts the matrix
:returns:_No description…
operate(self, coords):
coords:np.ndarrythe array of coordinates passed in
__repr__(self):
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings