class documentation
class MtxInterpolator(ABC):
Known subclasses: squice.MtxInterpolator.Linear, squice.MtxInterpolator.Nearest
Constructor: MtxInterpolator(mtx, wrap)
Abstract class to define the methods for interpolation of a 3d numpy matrix. There are 3 methods of wrapping the data if it is out of bounds: cap : it is simply fixed at the bounds if it goes beyond periodic: it loops to make it a periodic shape eg 3.1 becomes 0.1 if the max is 3 mirror: the edges reflect back, best only with small bleeds in the edge
| Method | __init__ |
mtx=numpy matrix |
| Method | convert |
Undocumented |
| Method | get |
A matrix of coordinates for creating values. The matrix is a custom 3d format called Matrix3d. |
| Method | get |
Undocumented |
| Instance Variable | mtx |
Undocumented |
| Instance Variable | wrap |
Undocumented |
| Method | _get |
Undocumented |