save()#
- AffineInputOperator.save(savefile: str, overwrite: bool = False) None #
Save the operator to an HDF5 file.
Since the
coeffs
are callables, they cannot be serialized, and are therefore an argument toload()
.- Parameters:
- savefilestr
Path of the file to save the basis in.
- overwritebool
If
True
, overwrite the file if it already exists. IfFalse
(default), raise aFileExistsError
if the file already exists.