From 3aec33ad70b97cb4c3c4193a7d1061cbdad903f6 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 15 Oct 2026 18:05:32 +0100 Subject: [PATCH 1/2] fix: search kwarg typos in searches/mcmc.py and nest.py auto_correlations_settings -> auto_correlation_settings (Emcee, Zeus) and nlive -> nlive_init (DynestyDynamic); both were silently ignored. Notebooks regenerated. Refs PyAutoLabs/PyAutoFit#1693 Co-Authored-By: Claude Opus 5.5 --- notebooks/searches/mcmc.ipynb | 4 ++-- notebooks/searches/nest.ipynb | 2 +- scripts/searches/mcmc.py | 4 ++-- scripts/searches/nest.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/notebooks/searches/mcmc.ipynb b/notebooks/searches/mcmc.ipynb index 202e3f07..6bf40bad 100644 --- a/notebooks/searches/mcmc.ipynb +++ b/notebooks/searches/mcmc.ipynb @@ -197,7 +197,7 @@ " nwalkers=30,\n", " nsteps=1000,\n", " initializer=af.InitializerBall(lower_limit=0.49, upper_limit=0.51),\n", - " auto_correlations_settings=af.AutoCorrelationsSettings(\n", + " auto_correlation_settings=af.AutoCorrelationsSettings(\n", " check_for_convergence=True,\n", " check_size=100,\n", " required_length=50,\n", @@ -310,7 +310,7 @@ " nwalkers=30,\n", " nsteps=1001,\n", " initializer=af.InitializerBall(lower_limit=0.49, upper_limit=0.51),\n", - " auto_correlations_settings=af.AutoCorrelationsSettings(\n", + " auto_correlation_settings=af.AutoCorrelationsSettings(\n", " check_for_convergence=True,\n", " check_size=100,\n", " required_length=50,\n", diff --git a/notebooks/searches/nest.ipynb b/notebooks/searches/nest.ipynb index 10575a5e..4de97d0f 100644 --- a/notebooks/searches/nest.ipynb +++ b/notebooks/searches/nest.ipynb @@ -312,7 +312,7 @@ "search = af.DynestyDynamic(\n", " path_prefix=\"searches\",\n", " name=\"DynestyDynamic\",\n", - " nlive=50,\n", + " nlive_init=50,\n", " bound=\"multi\",\n", " sample=\"auto\",\n", " bootstrap=None,\n", diff --git a/scripts/searches/mcmc.py b/scripts/searches/mcmc.py index 5950f58c..76bddb79 100644 --- a/scripts/searches/mcmc.py +++ b/scripts/searches/mcmc.py @@ -105,7 +105,7 @@ nwalkers=30, nsteps=1000, initializer=af.InitializerBall(lower_limit=0.49, upper_limit=0.51), - auto_correlations_settings=af.AutoCorrelationsSettings( + auto_correlation_settings=af.AutoCorrelationsSettings( check_for_convergence=True, check_size=100, required_length=50, @@ -185,7 +185,7 @@ nwalkers=30, nsteps=1001, initializer=af.InitializerBall(lower_limit=0.49, upper_limit=0.51), - auto_correlations_settings=af.AutoCorrelationsSettings( + auto_correlation_settings=af.AutoCorrelationsSettings( check_for_convergence=True, check_size=100, required_length=50, diff --git a/scripts/searches/nest.py b/scripts/searches/nest.py index 0142cc5d..05887eb1 100644 --- a/scripts/searches/nest.py +++ b/scripts/searches/nest.py @@ -187,7 +187,7 @@ search = af.DynestyDynamic( path_prefix="searches", name="DynestyDynamic", - nlive=50, + nlive_init=50, bound="multi", sample="auto", bootstrap=None, From a412d0b2d9a3c065e5265a41132738cd2d06fc47 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Thu, 15 Oct 2026 18:16:13 +0100 Subject: [PATCH 2/2] fix: search kwarg typos in cookbooks/search.py auto_correlations_settings -> auto_correlation_settings (Emcee, Zeus) and nlive -> nlive_init (DynestyDynamic). Notebook regenerated. Refs PyAutoLabs/PyAutoFit#1693 Co-Authored-By: Claude Opus 5.5 --- notebooks/cookbooks/search.ipynb | 6 +++--- scripts/cookbooks/search.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/notebooks/cookbooks/search.ipynb b/notebooks/cookbooks/search.ipynb index f8018da4..b4401279 100644 --- a/notebooks/cookbooks/search.ipynb +++ b/notebooks/cookbooks/search.ipynb @@ -449,7 +449,7 @@ " nwalkers=30,\n", " nsteps=1000,\n", " initializer=af.InitializerBall(lower_limit=0.49, upper_limit=0.51),\n", - " auto_correlations_settings=af.AutoCorrelationsSettings(\n", + " auto_correlation_settings=af.AutoCorrelationsSettings(\n", " check_for_convergence=True,\n", " check_size=100,\n", " required_length=50,\n", @@ -482,7 +482,7 @@ " nwalkers=30,\n", " nsteps=1001,\n", " initializer=af.InitializerBall(lower_limit=0.49, upper_limit=0.51),\n", - " auto_correlations_settings=af.AutoCorrelationsSettings(\n", + " auto_correlation_settings=af.AutoCorrelationsSettings(\n", " check_for_convergence=True,\n", " check_size=100,\n", " required_length=50,\n", @@ -523,7 +523,7 @@ "metadata": {}, "source": [ "search = af.DynestyDynamic(\n", - " nlive=50,\n", + " nlive_init=50,\n", " bound=\"multi\",\n", " sample=\"auto\",\n", " bootstrap=None,\n", diff --git a/scripts/cookbooks/search.py b/scripts/cookbooks/search.py index 9f000630..a44645db 100644 --- a/scripts/cookbooks/search.py +++ b/scripts/cookbooks/search.py @@ -291,7 +291,7 @@ nwalkers=30, nsteps=1000, initializer=af.InitializerBall(lower_limit=0.49, upper_limit=0.51), - auto_correlations_settings=af.AutoCorrelationsSettings( + auto_correlation_settings=af.AutoCorrelationsSettings( check_for_convergence=True, check_size=100, required_length=50, @@ -313,7 +313,7 @@ nwalkers=30, nsteps=1001, initializer=af.InitializerBall(lower_limit=0.49, upper_limit=0.51), - auto_correlations_settings=af.AutoCorrelationsSettings( + auto_correlation_settings=af.AutoCorrelationsSettings( check_for_convergence=True, check_size=100, required_length=50, @@ -343,7 +343,7 @@ - https://dynesty.readthedocs.io/en/latest/ """ search = af.DynestyDynamic( - nlive=50, + nlive_init=50, bound="multi", sample="auto", bootstrap=None,