atomistics.workflows.evcurve.fit.interpolate_energy

atomistics.workflows.evcurve.fit.interpolate_energy#

atomistics.workflows.evcurve.fit.interpolate_energy(fit_dict: dict, volumes: ndarray) ndarray[source]#

Interpolate the energy values for given volumes using the fit_dict.

Parameters:
  • fit_dict (dict) – Dictionary containing the fit results

  • volumes (np.ndarray) – Array of volumes for which to interpolate energy values

Returns:

Array of interpolated energy values

Return type:

np.ndarray