Skip to content

Commit

Permalink
Merge pull request #2589 from hwpang/debug_thermo_data
Browse files Browse the repository at this point in the history
Update uncertainty SI when averaging ThermoData
  • Loading branch information
JacksonBurns authored Dec 20, 2023
2 parents c8d6cb3 + 18453bd commit ed9f29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmgpy/data/thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def average_thermo_data(thermo_data_list=None):
averaged_thermo_data.Cpdata.value_si[i] /= num_values

cp_data = [thermo_data.Cpdata.value_si[i] for thermo_data in thermo_data_list]
averaged_thermo_data.Cpdata.uncertainty[i] = 2 * np.std(cp_data, ddof=1)
averaged_thermo_data.Cpdata.uncertainty_si[i] = 2 * np.std(cp_data, ddof=1)

h_data = [thermo_data.H298.value_si for thermo_data in thermo_data_list]
averaged_thermo_data.H298.value_si /= num_values
Expand Down

0 comments on commit ed9f29d

Please sign in to comment.