set_interpolator()

set_interpolator()#

InterpCubicOperator.set_interpolator(InterpolatorClass)#

Construct the interpolator for the operator matrix.

Parameters:
InterpolatorClasstype

Class for the elementwise interpolation. Must obey the syntax

>>> interpolator = InterpolatorClass(data_points, data_values)
>>> interpolator_evaluation = interpolator(new_data_point)

This can be, e.g., a class from scipy.interpolate.