From 8cff95d5f606a20293c2f600590ebf38cfa04abc Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Mon, 26 Oct 2026 10:05:02 +0000 Subject: [PATCH] Document remaining configuration leaf settings --- autolens/config/general.yaml | 4 +- autolens/config/non_linear.yaml | 88 ++++++++++++++-------------- autolens/config/output.yaml | 8 +-- autolens/config/visualize/plots.yaml | 2 +- 4 files changed, 51 insertions(+), 51 deletions(-) diff --git a/autolens/config/general.yaml b/autolens/config/general.yaml index 32229bf70a..d3474e677b 100644 --- a/autolens/config/general.yaml +++ b/autolens/config/general.yaml @@ -1,4 +1,4 @@ output: - fit_dill: false + fit_dill: false # Legacy fit-serialization flag; no reader found in the current library source. test: - disable_positions_lh_inversion_check: false + disable_positions_lh_inversion_check: false # If True, allow pixelized-source fits without a positions likelihood. diff --git a/autolens/config/non_linear.yaml b/autolens/config/non_linear.yaml index c56ad38a01..7c478f2027 100644 --- a/autolens/config/non_linear.yaml +++ b/autolens/config/non_linear.yaml @@ -1,57 +1,57 @@ nest: DynestyDynamic: initialize: - method: prior + method: prior # Legacy Dynesty YAML entry (searches now use constructor defaults): initializer method; prior draws initial samples from the model priors. parallel: - force_x1_cpu: false - number_of_cores: 1 + force_x1_cpu: false # Legacy Dynesty YAML entry (searches now use constructor defaults): if True, force the search to run on one CPU core. + number_of_cores: 1 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of CPU cores used by the search. printing: - silence: false + silence: false # Legacy Dynesty YAML entry (searches now use constructor defaults): if True, suppress sampler progress output. run: - dlogz_init: 0.01 - logl_max_init: .inf - maxcall: null - maxcall_init: null - maxiter: null - maxiter_init: null - n_effective: .inf - n_effective_init: .inf - nlive_init: 500 + dlogz_init: 0.01 # Legacy Dynesty YAML entry (searches now use constructor defaults): evidence stopping tolerance for the initial nested-sampling run. + logl_max_init: .inf # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood stopping bound for the initial run. + maxcall: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood evaluations for the run; null uses the sampler default. + maxcall_init: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood evaluations for the initial run; null uses the sampler default. + maxiter: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum sampler iterations for the run; null uses the sampler default. + maxiter_init: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum sampler iterations for the initial run; null uses the sampler default. + n_effective: .inf # Legacy Dynesty YAML entry (searches now use constructor defaults): target effective posterior sample size. + n_effective_init: .inf # Legacy Dynesty YAML entry (searches now use constructor defaults): target effective posterior sample size for the initial run. + nlive_init: 500 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of live points in the initial run. search: - bootstrap: null - bound: multi - enlarge: null - facc: 0.2 - first_update: null - fmove: 0.9 - max_move: 100 - sample: rwalk - slices: 5 - update_interval: null - walks: 5 + bootstrap: null # Legacy Dynesty YAML entry (searches now use constructor defaults): number of bootstrap realizations used to determine bound enlargement; null uses the sampler default. + bound: multi # Legacy Dynesty YAML entry (searches now use constructor defaults): bounding method for the live-point distribution. + enlarge: null # Legacy Dynesty YAML entry (searches now use constructor defaults): expansion factor for sampling bounds; null uses the sampler default. + facc: 0.2 # Legacy Dynesty YAML entry (searches now use constructor defaults): target acceptance fraction for random-walk sampling. + first_update: null # Legacy Dynesty YAML entry (searches now use constructor defaults): criteria for the first sampling-bound update; null uses the sampler default. + fmove: 0.9 # Legacy Dynesty fmove option; searches now use constructor arguments. + max_move: 100 # Legacy Dynesty max_move option; searches now use constructor arguments. + sample: rwalk # Legacy Dynesty YAML entry (searches now use constructor defaults): proposal method used to generate replacement live points. + slices: 5 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of slice-sampling steps per proposal. + update_interval: null # Legacy Dynesty YAML entry (searches now use constructor defaults): interval between sampling-bound updates; null uses the sampler default. + walks: 5 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of random-walk steps per proposal. DynestyStatic: initialize: - method: prior + method: prior # Legacy Dynesty YAML entry (searches now use constructor defaults): initializer method; prior draws initial samples from the model priors. parallel: - number_of_cores: 1 + number_of_cores: 1 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of CPU cores used by the search. printing: - silence: false + silence: false # Legacy Dynesty YAML entry (searches now use constructor defaults): if True, suppress sampler progress output. run: - dlogz: null - logl_max: .inf - maxcall: null - maxiter: null - n_effective: null + dlogz: null # Legacy Dynesty YAML entry (searches now use constructor defaults): evidence stopping tolerance for the nested-sampling run; null uses the sampler default. + logl_max: .inf # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood stopping bound for the run. + maxcall: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum likelihood evaluations for the run; null uses the sampler default. + maxiter: null # Legacy Dynesty YAML entry (searches now use constructor defaults): maximum sampler iterations for the run; null uses the sampler default. + n_effective: null # Legacy Dynesty YAML entry (searches now use constructor defaults): target effective posterior sample size. search: - bootstrap: null - bound: multi - enlarge: null - facc: 0.2 - first_update: null - fmove: 0.9 - max_move: 100 - nlive: 50 - sample: rwalk - slices: 5 - update_interval: null - walks: 5 + bootstrap: null # Legacy Dynesty YAML entry (searches now use constructor defaults): number of bootstrap realizations used to determine bound enlargement; null uses the sampler default. + bound: multi # Legacy Dynesty YAML entry (searches now use constructor defaults): bounding method for the live-point distribution. + enlarge: null # Legacy Dynesty YAML entry (searches now use constructor defaults): expansion factor for sampling bounds; null uses the sampler default. + facc: 0.2 # Legacy Dynesty YAML entry (searches now use constructor defaults): target acceptance fraction for random-walk sampling. + first_update: null # Legacy Dynesty YAML entry (searches now use constructor defaults): criteria for the first sampling-bound update; null uses the sampler default. + fmove: 0.9 # Legacy Dynesty fmove option; searches now use constructor arguments. + max_move: 100 # Legacy Dynesty max_move option; searches now use constructor arguments. + nlive: 50 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of live points used by nested sampling. + sample: rwalk # Legacy Dynesty YAML entry (searches now use constructor defaults): proposal method used to generate replacement live points. + slices: 5 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of slice-sampling steps per proposal. + update_interval: null # Legacy Dynesty YAML entry (searches now use constructor defaults): interval between sampling-bound updates; null uses the sampler default. + walks: 5 # Legacy Dynesty YAML entry (searches now use constructor defaults): number of random-walk steps per proposal. diff --git a/autolens/config/output.yaml b/autolens/config/output.yaml index 88f7d01c4b..0ad0487037 100644 --- a/autolens/config/output.yaml +++ b/autolens/config/output.yaml @@ -14,7 +14,7 @@ default: true # If true then files which are not explicitly listed here are outp # the `samples_summary.json` file. However, without a `samples.csv` file these types of tasks cannot be performed # after the fit is complete, for example via the database. -samples: true +samples: true # If True, retain the sampled parameter values, likelihoods and weights in samples.csv. # The `samples.csv` file contains every accepted sampled value of every free parameter with its log likelihood and # weight. For certain searches, the majority of samples have a very low weight and have no numerical impact on the @@ -31,7 +31,7 @@ samples: true # Set value to empty (e.g. delete 1.0e-10 below) to disable this feature. -samples_weight_threshold: 1.0e-10 +samples_weight_threshold: 1.0e-10 # Exclude samples with weights below this threshold from samples.csv; null disables filtering. ### Search Internal ### @@ -53,7 +53,7 @@ samples_weight_threshold: 1.0e-10 # every walker. This information is required to do certain analyes and make certain plots, therefore deleting the # folder means this information is list. -search_internal: false +search_internal: false # If False, delete the search internal checkpoint directory after the fit completes. ### Start Point ### @@ -62,7 +62,7 @@ search_internal: false # the visualizer wrapped in the Analysis class, and therefore should show things like the quality of the fit # to the data and the residuals at the start point. -start_point: true +start_point: true # If True, output visualization of the initializer start-point fit. ### Latent Variables ### diff --git a/autolens/config/visualize/plots.yaml b/autolens/config/visualize/plots.yaml index bfb02024d8..174fcda516 100644 --- a/autolens/config/visualize/plots.yaml +++ b/autolens/config/visualize/plots.yaml @@ -19,7 +19,7 @@ dataset: # Settings for plots of all datasets subplot_dataset: true # Plot subplot containing all dataset quantities (e.g. the data, noise-map, etc.)? positions: # Settings for plots with resampling image-positions on (e.g. the image). - image_with_positions: true + image_with_positions: true # If True, output the image with the positions overlaid. fit: # Settings for plots of all fits (e.g. FitImaging, FitInterferometer). subplot_fit: true # Plot subplot of all fit quantities for any dataset (e.g. the model data, residual-map, etc.)?