Wraps interpolation that it can be accessed like a list / array without storing the nodes
Parameters : | intitial:
final:
nimages: integer
interpolator: callable
|
---|
See also
Examples
>>> import numpy as np
>>>
>>> path = InterpolatedPath(np.array([0., 1.]), np.array([1.,0.]), 10)
>>> print len(path) # prints 10
>>> print path[5] # access 5th frame
>>>
>>> for x in path: # it is also iteratable
>>> print x
Attributes
final | |
initial | |
interpolator |
Methods
Iterator |