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 | None
the shift for the transformation
tmat
:np.ndarray
the matrix for the linear transformation
@property
transform(self):
@property
shift(self):
merge(self, other):
other
:np.ndarray or AffineTransform
No description…
reverse(self):
Inverts the matrix
:returns
:_
No description…
operate(self, coords):
coords
:np.ndarry
the array of coordinates passed in
__repr__(self):
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings