Closed robraddi closed 3 years ago
Now passes the ensemble object to PosterSampler without converting to a list.
ensemble
ensemble = biceps.Ensemble(float(lam), list(energies)) ensemble.initialize_restraints(list(input_data)) sampler = biceps.PosteriorSampler(object(ensemble))
Also added a burn-in time for the sample(). Default burn-in time is set to zero.
sample()
sampler.sample(int(nsteps), int(burn)) sampler.traj.process_results()
Lastly, the sampler object is automatically saved when calling on process_results
sampler
process_results
Tests were performed for all systems and notebooks were edited to reflect the alterations in the code.
Fixes #78 #71 #33 #21
Now passes the
ensemble
object to PosterSampler without converting to a list.Also added a burn-in time for the
sample()
. Default burn-in time is set to zero.Lastly, the
sampler
object is automatically saved when calling onprocess_results
Tests were performed for all systems and notebooks were edited to reflect the alterations in the code.
Fixes #78 #71 #33 #21