Skip to content
Snippets Groups Projects
Commit c3141c17 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Revert the change to dlogz

parent b55f9c56
No related branches found
No related tags found
1 merge request!564Changes the default number of walks to 30x ndim (previously 10x ndims).
Pipeline #72241 passed
......@@ -56,7 +56,7 @@ class Dynesty(NestedSampler):
conditioned on the provided bounds
walks: int
Number of walks taken if using `sample='rwalk'`, defaults to `ndim * 30`
dlogz: float, (0.5)
dlogz: float, (0.1)
Stopping criteria
verbose: Bool
If true, print information information about the convergence during
......@@ -85,7 +85,7 @@ class Dynesty(NestedSampler):
enlarge=None, bootstrap=None, vol_dec=0.5, vol_check=2.0,
facc=0.5, slices=5,
update_interval=None, print_func=None,
dlogz=0.5, maxiter=None, maxcall=None,
dlogz=0.1, maxiter=None, maxcall=None,
logl_max=np.inf, add_live=True, print_progress=True,
save_bounds=False)
......
......@@ -151,7 +151,7 @@ class TestDynesty(unittest.TestCase):
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, dlogz=0.5, maxiter=None, maxcall=None,
facc=0.5, slices=5, dlogz=0.1, maxiter=None, maxcall=None,
logl_max=np.inf, add_live=True, print_progress=True, save_bounds=False,
walks=60, update_interval=600, print_func='func')
self.sampler.kwargs['print_func'] = 'func' # set this manually as this is not testable otherwise
......@@ -169,7 +169,7 @@ class TestDynesty(unittest.TestCase):
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, dlogz=0.5, maxiter=None, maxcall=None,
facc=0.5, slices=5, dlogz=0.1, maxiter=None, maxcall=None,
logl_max=np.inf, add_live=True, print_progress=True, save_bounds=False,
walks=60, update_interval=600, print_func='func')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment