affine
navis.transforms.affine.BaseTransform
#
Abstract base class for transforms.
If the transform is invertible, implement via neg method.
Source code in navis/transforms/base.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
|
append
#
Append another transform to this one.
This is used to try to concatenate transforms of the same type into a single step to speed things up (e.g. for CMTK transforms). If that's not possible or not useful, must raise a NotImplementedError
.
Source code in navis/transforms/base.py
45 46 47 48 49 50 51 52 |
|
check_if_possible
#
Test if running the transform is possible.
Source code in navis/transforms/base.py
54 55 56 |
|
copy
abstractmethod
#
Return copy.
Source code in navis/transforms/base.py
58 59 60 61 |
|
xform
abstractmethod
#
Return copy.
Must accept a (N, 3) numpy array as first input and return the transformed (N, 3) points as sole output.s
Source code in navis/transforms/base.py
63 64 65 66 67 68 69 70 |
|