save()

save()#

LinearBasis.save(savefile: str, overwrite: bool = False)[source]#

Save the basis to an HDF5 file.

Parameters:
savefilestr

Path of the file to save the basis to.

overwritebool

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