nested - Nested sampling with bumps models

Sampler

main

put01

Run a bumps model using a nested sampler.

Currently only ultranest is supported, though it uses some functions from dynesty.

Usage:

pip install ultranest dynesty python -m bumps.nested –pars=model.par –export=results/path model.py

where model.par is the path to a par file exported from a bumps fit, and model.py is the script describing the model.

class bumps.nested.Sampler(problem, store)[source]

Bases: object

corner(results)[source]
get_param_names()[source]
logl(x)[source]
prior_transform(u)[source]
results_df()[source]
sample(verbose=True)[source]
save_as_csv(results)[source]
save_as_json(results)[source]
save_bumps_pars(problem)[source]
bumps.nested.main()[source]
bumps.nested.put01(v, low, high)[source]