Commit c0d1c423 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Adds acceptance fraction to saved data

parent 7ef67d29
......@@ -352,9 +352,12 @@ class MCMCSearch(core.BaseSearchClass):
self.mean_acceptance_fraction = np.mean(
sampler.acceptance_fraction, axis=1)"Mean acceptance fraction: {}"
.format(np.mean(sampler.acceptance_fraction, axis=1)))
if self.ntemps > 1:
self.tswap_acceptance_fraction = sampler.tswap_acceptance_fraction"Tswap acceptance fraction: {}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment