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

Set nact to default to 5

parent 84676190
No related branches found
No related tags found
1 merge request!643Adding an ACT estimate for the walks
Pipeline #89279 failed
......@@ -95,7 +95,7 @@ class Dynesty(NestedSampler):
dlogz=0.1, maxiter=None, maxcall=None,
logl_max=np.inf, add_live=True, print_progress=True,
save_bounds=False, n_effective=None,
maxmcmc=2000, nact=2)
maxmcmc=2000, nact=5)
def __init__(self, likelihood, priors, outdir='outdir', label='label',
use_ratio=False, plot=False, skip_import_verification=False,
......@@ -677,7 +677,7 @@ def sample_rwalk_bilby_with_act(args):
n = len(u)
maxmcmc = kwargs.get('maxmcmc', 2000) # Maximum number of steps
walks = kwargs.get('walks', 25) # Minimum number of steps
nact = kwargs.get('nact', 2) # Number of ACT
nact = kwargs.get('nact', 5) # Number of ACT
accept = 0
reject = 0
......@@ -769,7 +769,7 @@ def sample_rstagger_bilby_with_act(args):
n = len(u)
maxmcmc = kwargs.get('maxmcmc', 2000) # Maximum number of steps
walks = kwargs.get('walks', 25) # Minimum number of steps
nact = kwargs.get('nact', 2) # Number of ACT
nact = kwargs.get('nact', 5) # Number of ACT
facc_target = kwargs.get('facc', 0.5) # acceptance fraction
accept = 0
......
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