Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GOFEE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Malthe Kjær Bisbo
GOFEE
Commits
2e57e352
Commit
2e57e352
authored
3 years ago
by
Malthe Kjær Bisbo
Browse files
Options
Downloads
Patches
Plain Diff
nothing realy
parent
dd3bfeca
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gofee/surrogate/__pycache__/gpr_calculator.cpython-36.pyc
+0
-0
0 additions, 0 deletions
gofee/surrogate/__pycache__/gpr_calculator.cpython-36.pyc
statistics_tools/plot_energy_evolution.py
+5
-1
5 additions, 1 deletion
statistics_tools/plot_energy_evolution.py
with
5 additions
and
1 deletion
gofee/surrogate/__pycache__/gpr_calculator.cpython-36.pyc
+
0
−
0
View file @
2e57e352
No preview for this file type
This diff is collapsed.
Click to expand it.
statistics_tools/plot_energy_evolution.py
+
5
−
1
View file @
2e57e352
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment