Skip to content

Commit

Permalink
Benchmark DeltaG plots now shift data to experimental DeltaG mean.
Browse files Browse the repository at this point in the history
  • Loading branch information
jchodera committed Apr 11, 2022
1 parent 40ef19d commit 17a89bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmarks/benchmark_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ def to_arsenic_csv(experimental_data: dict, simulation_data: list, out_csv: str
figsize=5,
filename='./plot_relative.png'
)
# Absolute plot
# Absolute plot, with experimental data shifted to correct mean
experimental_mean_dg = np.asarray([node[1]["exp_DG"] for node in fe.graph.nodes(data=True)]).mean()
plotting.plot_DGs(fe.graph,
target_name=f'{target}',
title=f'Absolute binding energies - {target}',
figsize=5,
filename='./plot_absolute.png'
filename='./plot_absolute.png',
shift=experimental_mean_dg,
)


0 comments on commit 17a89bd

Please sign in to comment.