Skip to main content

Parameters

path
str
required

Methods

plot_energies

Plot the evolution of system energy together with individual energy terms. Parameters
weighted
bool
default:"True"
If True, multiply individual energy terms by their configured weights before plotting.
use_best
bool
default:"False"
If True, plot the best energies; otherwise plot the current energies.
ax
plt.Axes
default:"None"

Example

from bagel.analysis import MonteCarloAnalyzer

analyzer = MonteCarloAnalyzer(path='my_experiment')
ax = analyzer.plot_energies(weighted=True, use_best=False)