load()

load()#

classmethod InterpInputOperator.load(loadfile: str, InterpolatorClass: type = None)#

Load a parametric operator from an HDF5 file.

Parameters:
loadfilestr

Path to the file where the operator was stored via save().

InterpolatorClasstype or None

Class for the elementwise interpolation. Must obey the syntax

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

Not required if the saved operator utilizes a class from scipy.interpolate.

Returns:
op_InterpOperator

Initialized operator object.