Skip to content
Snippets Groups Projects
Commit 2e57e352 authored by Malthe Kjær Bisbo's avatar Malthe Kjær Bisbo
Browse files

nothing realy

parent dd3bfeca
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -18,6 +18,7 @@ import argparse
parser = argparse.ArgumentParser(description='Plot energy evolution of runs')
parser.add_argument('-i', type=str, help='folder containing GOFEE runs')
parser.add_argument('-dE', type=float, help='Energy range used for plotting')
parser.add_argument('-Emin', type=float, help='Lower energy bnd, relative to ')
parser.add_argument('-N', default=12, type=int, help='Maximum number of runs to plot')
parser.add_argument('-kappa', default=1, type=float, help='kappa in acquisition funciton')
parser.add_argument('-ref', type=str, help='reference traj, for which the energy is plottet as dashed line')
......@@ -26,6 +27,7 @@ args = parser.parse_args()
runs_name = args.i
dE = args.dE
Emin = args.Emin
Nruns2use = args.N
kappa = args.kappa
ref = args.ref
......@@ -108,7 +110,9 @@ for i,(E, Epred, Epred_std, Ebest) in enumerate(zip(E_all, Epred_all, Epred_std_
ax.plot([x[0], x[-1]], [Eref, Eref], 'k:')
ax.legend(loc='upper right')
if dE is not None:
if ref is not None:
if Emin is not None:
pass
elif ref is not None:
Emin = Eref - 1
else:
Emin = Ebest - 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment