TransformationFunction

The TransformationFunction class is an abstract class It provides the scaffolding for representing a single transformation operation

Properties and Methods

 

__init__(self): 

Initializes a transformation function based on the transfdata

  • transfdata: Any

    No description…

 

merge(self, other): 

Tries to merge with another TransformationFunction

  • other: TransformationFunction

    a TransformationFunction to try to merge with

  • :returns: TransformationFunction

    tfunc

 

operate(self, coords): 

Operates on the coords. Must be able to deal with a list of coordinates, optimally in an efficient manner

  • coords: np.ndarry

    the list of coordinates to apply the transformation to

Examples


Edit Examples or Create New Examples
Edit Template or Create New Template
Edit Docstrings