Pickle dump entire sampler in dynesty
Compare changes
Files
4+ 1
− 1
@@ -38,7 +38,7 @@ class Cpnest(NestedSampler):
We've noticed some pretty horrendous issues with restarting after a checkpoint recently.
I think that this is due to not saving all of the relevant state information.
This MR ensures the whole sampler will be saved.
I also took the liberty of adding two more plots.
The above plot shows the issue we had, the large spike followed by a higher nc steady state is when the run was interrupted and reloaded from the resume file (note that I stopped this run before it completely converged).
This is what that plot looks like with no interruption
This is what the plot looks like with the new checkpointing