save()

save()#

InterpCubicOperator.save(savefile: str, overwrite: bool = False) None#

Save the operator to an HDF5 file.

If the interpolator is not from scipy.interpolate, it must be passed to load() when recovering the operator.

Parameters:
savefilestr

Path of the file to save the basis in.

overwritebool

If True, overwrite the file if it already exists. If False (default), raise a FileExistsError if the file already exists.