feos.eos.estimator.Estimator.relative_difference¶
- Estimator.relative_difference(eos)¶
Return the relative difference between experimental data and prediction of the equation of state for each
DataSet
.The relative difference is computed as:
\[\text{Relative Difference} = \frac{x_i^\text{prediction} - x_i^\text{experiment}}{x_i^\text{experiment}}\]- Parameters:
eos (EquationOfState) – The equation of state that is used.
- Return type:
List[numpy.ndarray[Float]]