feos.eos.estimator.DataSet.relative_difference¶
- DataSet.relative_difference(eos)¶
Return the relative difference between experimental data and prediction of the equation of state.
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:
numpy.ndarray[Float]