- eispac.core.save_fit(fit_result, save_dir=None, verbose=False)[source]
Save an EISFitResult object to an HDF5 file (or files)
fit_result (EISFitResult object) – Fit parameter results from eispac.fit_spectra()
save_dir (str or pathlib.Path object, optional) – Directory where the fit results should be saved. If set to None, the results will be saved in the same folder as the source data. If set to, ‘cwd’, the results will be saved to the current working directory. Default is None.
verbose (bool, optional) – If set to True, will print the name of each data variable saved. Default is False.
output_filepath – Path object pointing to the output file. If there are more one than one spectral lines fit, multiple copies of the same output file will be saved but with different filenames.
- Return type:
list or pathlib.Path object