Add the "dynamic" nested sampler from `dynesty`.
Is it possible to include 'dynamic' input in the dynesty sampler? It helps to get better posterior distributions, but currently if I write it turned on as:
result = bilby.run_sampler( likelihood=likelihood, priors=prior, sampler='dynesty', nlive=500, injection_parameters=injection_param, outdir=outdir, label=label, bound='multi', sample='rwalk', walks=25, verbose=True, dynamic=True)
I get the error:
09:47 bilby WARNING : Supplied argument 'dynamic' not an argument of 'Dynesty', removing.
09:47 bilby INFO : Using sampler Dynesty with kwargs {'bound': 'multi', 'sample': 'rwalk', 'verbose': True, 'check_point_delta_t': 600, 'nlive': 500, 'first_update': None, 'npdim': None, 'rstate': None, 'queue_size': None, 'pool': None, 'use_pool': None, 'live_points': None, 'logl_args': None, 'logl_kwargs': None, 'ptform_args': None, 'ptform_kwargs': None, 'enlarge': None, 'bootstrap': None, 'vol_dec': 0.5, 'vol_check': 2.0, 'facc': 0.5, 'slices': 5, 'walks': 25, 'update_interval': 300, 'print_func': <bound method Dynesty._print_func of <bilby.core.sampler.dynesty.Dynesty object at 0x1a3a11acf8>>, 'dlogz': 0.1, 'maxiter': None, 'maxcall': None, 'logl_max': inf, 'add_live': True, 'print_progress': True, 'save_bounds': True}