class documentation

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_coord Undocumented
Method get_val_slice A matrix of coordinates for creating values. The matrix is a custom 3d format called Matrix3d.
Method get_value Undocumented
Instance Variable mtx Undocumented
Instance Variable wrap Undocumented
Method _get_value Undocumented
def __init__(self, mtx, wrap='none'):

  • mtx=numpy matrix
  • wrap=["none","periodic"]

def convert_coord(self, x, y, z):

Undocumented

def get_val_slice(self, coords_mtx):

A matrix of coordinates for creating values. The matrix is a custom 3d format called Matrix3d.

def get_value(self, xi, yi, zi):

Undocumented

mtx =

Undocumented

wrap =

Undocumented

@abstractmethod
def _get_value(self, x, y, z):