Skip to content

Commit

Permalink
Add missing uncertainty
Browse files Browse the repository at this point in the history
  • Loading branch information
hwpang committed Dec 19, 2023
1 parent c8d6cb3 commit 18453bd
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 18453bd

Please sign in to comment.