diff --git a/config/general.yaml b/config/general.yaml index 0fd764c..8bbeb6a 100644 --- a/config/general.yaml +++ b/config/general.yaml @@ -1,8 +1,6 @@ updates: iterations_per_quick_update: 1e99 # Non-linear search iterations between every quick update, which just displays the maximum likelihood model fit. iterations_per_full_update: 1e99 # Non-linear search iterations between every full update, which outputs all visuals and result fits (e.g. model.result, search.summary), this exits the search and can be slow. -fits: - flip_for_ds9: true psf: use_fft_default: true # If True, PSFs are convolved using FFTs by default, which is faster and uses less memory in all cases except for very small PSFs, False uses direct convolution. grid: diff --git a/config/priors/light/linear/chameleon.yaml b/config/priors/light/linear/chameleon.yaml deleted file mode 100755 index d5aa1b2..0000000 --- a/config/priors/light/linear/chameleon.yaml +++ /dev/null @@ -1,106 +0,0 @@ -Chameleon: - centre_0: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - centre_1: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - core_radius_0: - type: Uniform - lower_limit: 0.0 - upper_limit: 30.0 - width_modifier: - type: Absolute - value: 0.3 - limits: - lower: 0.0 - upper: inf - core_radius_1: - type: Uniform - lower_limit: 0.0 - upper_limit: 30.0 - width_modifier: - type: Absolute - value: 0.3 - limits: - lower: 0.0 - upper: inf - ell_comps_0: - type: TruncatedGaussian - mean: 0.0 - sigma: 0.3 - lower_limit: -1.0 - upper_limit: 1.0 - width_modifier: - type: Absolute - value: 0.2 - limits: - lower: -1.0 - upper: 1.0 - ell_comps_1: - type: TruncatedGaussian - mean: 0.0 - sigma: 0.3 - lower_limit: -1.0 - upper_limit: 1.0 - width_modifier: - type: Absolute - value: 0.2 - limits: - lower: -1.0 - upper: 1.0 -ChameleonSph: - centre_0: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - centre_1: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - core_radius_0: - type: Uniform - lower_limit: 0.0 - upper_limit: 30.0 - width_modifier: - type: Absolute - value: 0.3 - limits: - lower: 0.0 - upper: inf - core_radius_1: - type: Uniform - lower_limit: 0.0 - upper_limit: 30.0 - width_modifier: - type: Absolute - value: 0.3 - limits: - lower: 0.0 - upper: inf diff --git a/config/priors/light/linear/eff.yaml b/config/priors/light/linear/eff.yaml deleted file mode 100755 index 325eb2e..0000000 --- a/config/priors/light/linear/eff.yaml +++ /dev/null @@ -1,106 +0,0 @@ -ElsonFreeFall: - centre_0: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - centre_1: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - effective_radius: - type: Uniform - lower_limit: 0.0 - upper_limit: 30.0 - width_modifier: - type: Relative - value: 1.0 - limits: - lower: 0.0 - upper: inf - ell_comps_0: - type: TruncatedGaussian - mean: 0.0 - sigma: 0.3 - lower_limit: -1.0 - upper_limit: 1.0 - width_modifier: - type: Absolute - value: 0.2 - limits: - lower: -1.0 - upper: 1.0 - ell_comps_1: - type: TruncatedGaussian - mean: 0.0 - sigma: 0.3 - lower_limit: -1.0 - upper_limit: 1.0 - width_modifier: - type: Absolute - value: 0.2 - limits: - lower: -1.0 - upper: 1.0 - eta: - type: Uniform - lower_limit: 0.5 - upper_limit: 3.0 - width_modifier: - type: Absolute - value: 1.5 - limits: - lower: 0.0 - upper: 5.0 -ElsonFreeFallSph: - centre_0: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - centre_1: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - effective_radius: - type: Uniform - lower_limit: 0.0 - upper_limit: 30.0 - width_modifier: - type: Relative - value: 1.0 - limits: - lower: 0.0 - upper: inf - eta: - type: Uniform - lower_limit: 0.5 - upper_limit: 3.0 - width_modifier: - type: Absolute - value: 1.5 - limits: - lower: 0.0 - upper: 5.0 diff --git a/config/priors/light/linear_operated/gaussian.yaml b/config/priors/light/linear_operated/gaussian.yaml index ff5544c..e6ee9de 100755 --- a/config/priors/light/linear_operated/gaussian.yaml +++ b/config/priors/light/linear_operated/gaussian.yaml @@ -53,13 +53,3 @@ Gaussian: limits: lower: -1.0 upper: 1.0 - intensity: - type: LogUniform - lower_limit: 1.0e-06 - upper_limit: 1000000.0 - width_modifier: - type: Relative - value: 0.5 - limits: - lower: 0.0 - upper: inf diff --git a/config/priors/light/operated/sersic.yaml b/config/priors/light/operated/sersic.yaml index 7279c95..04a692e 100755 --- a/config/priors/light/operated/sersic.yaml +++ b/config/priors/light/operated/sersic.yaml @@ -1,4 +1,4 @@ -ersic: +Sersic: centre_0: type: Gaussian mean: 0.0 diff --git a/config/priors/mass/dark/nfw_truncated_mcr.yaml b/config/priors/mass/dark/nfw_truncated_mcr.yaml index 667c798..6c2d1e8 100755 --- a/config/priors/mass/dark/nfw_truncated_mcr.yaml +++ b/config/priors/mass/dark/nfw_truncated_mcr.yaml @@ -100,64 +100,3 @@ NFWTruncatedMCRLudlowSph: limits: lower: 0.0 upper: inf -NFWTruncatedMCRScatterLudlowSph: - centre_0: - type: Gaussian - mean: 0.0 - sigma: 0.1 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - centre_1: - type: Gaussian - mean: 0.0 - sigma: 0.1 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - mass_at_200: - type: LogUniform - lower_limit: 100000000.0 - upper_limit: 1000000000000000.0 - width_modifier: - type: Relative - value: 0.5 - limits: - lower: 0.0 - upper: inf - redshift_object: - type: Uniform - lower_limit: 0.0 - upper_limit: 1.0 - width_modifier: - type: Relative - value: 0.5 - limits: - lower: 0.0 - upper: inf - redshift_source: - type: Uniform - lower_limit: 0.0 - upper_limit: 1.0 - width_modifier: - type: Relative - value: 0.5 - limits: - lower: 0.0 - upper: inf - scatter_sigma: - type: Gaussian - mean: 0.0 - sigma: 3.0 - width_modifier: - type: Absolute - value: 1.0 - limits: - lower: -inf - upper: inf diff --git a/config/priors/mass/dark/nfw_truncated_mcr_scatter.yaml b/config/priors/mass/dark/nfw_truncated_mcr_scatter.yaml new file mode 100644 index 0000000..1aa55e2 --- /dev/null +++ b/config/priors/mass/dark/nfw_truncated_mcr_scatter.yaml @@ -0,0 +1,61 @@ +NFWTruncatedMCRScatterLudlowSph: + centre_0: + type: Gaussian + mean: 0.0 + sigma: 0.1 + width_modifier: + type: Absolute + value: 0.05 + limits: + lower: -inf + upper: inf + centre_1: + type: Gaussian + mean: 0.0 + sigma: 0.1 + width_modifier: + type: Absolute + value: 0.05 + limits: + lower: -inf + upper: inf + mass_at_200: + type: LogUniform + lower_limit: 100000000.0 + upper_limit: 1000000000000000.0 + width_modifier: + type: Relative + value: 0.5 + limits: + lower: 0.0 + upper: inf + redshift_object: + type: Uniform + lower_limit: 0.0 + upper_limit: 1.0 + width_modifier: + type: Relative + value: 0.5 + limits: + lower: 0.0 + upper: inf + redshift_source: + type: Uniform + lower_limit: 0.0 + upper_limit: 1.0 + width_modifier: + type: Relative + value: 0.5 + limits: + lower: 0.0 + upper: inf + scatter_sigma: + type: Gaussian + mean: 0.0 + sigma: 3.0 + width_modifier: + type: Absolute + value: 1.0 + limits: + lower: -inf + upper: inf diff --git a/config/priors/mass/stellar/sersic_core.yaml b/config/priors/mass/stellar/sersic_core.yaml index 9bb1890..d77992e 100755 --- a/config/priors/mass/stellar/sersic_core.yaml +++ b/config/priors/mass/stellar/sersic_core.yaml @@ -82,9 +82,6 @@ SersicCore: limits: lower: 0.0 upper: inf - radius_break: - type: Constant - value: 0.025 sersic_index: type: Uniform lower_limit: 0.8 @@ -142,16 +139,6 @@ SersicCoreSph: limits: lower: 0.0 upper: inf - mass_to_light_ratio: - type: LogUniform - lower_limit: 1.0e-06 - upper_limit: 1000000.0 - width_modifier: - type: Relative - value: 0.3 - limits: - lower: 0.0 - upper: inf radius_break: type: Constant value: 0.025 diff --git a/config/priors/mesh/README.md b/config/priors/mesh/README.md index ac0d7fc..78e5f03 100644 --- a/config/priors/mesh/README.md +++ b/config/priors/mesh/README.md @@ -1,3 +1,3 @@ The `mesh` folder contains configuration files for the default priors assumed for `mesh` objects. -These model components reconstruct a galaxy's emission using a rectangular grid, Delaunay triangulation or Voronoi mesh. +These model components reconstruct a galaxy's emission using a rectangular grid or Delaunay triangulation. diff --git a/config/priors/point_sources.yaml b/config/priors/point_sources.yaml index b589b2f..ee3763c 100755 --- a/config/priors/point_sources.yaml +++ b/config/priors/point_sources.yaml @@ -50,24 +50,3 @@ PointFlux: limits: lower: 0.0 upper: inf -PointSourceChi: - centre_0: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf - centre_1: - type: Gaussian - mean: 0.0 - sigma: 0.3 - width_modifier: - type: Absolute - value: 0.05 - limits: - lower: -inf - upper: inf diff --git a/config/visualize/plots_search.yaml b/config/visualize/plots_search.yaml index 7e61f95..24f805e 100644 --- a/config/visualize/plots_search.yaml +++ b/config/visualize/plots_search.yaml @@ -1,17 +1,8 @@ -dynesty: - cornerplot: true # Output Dynesty cornerplot figure during a non-linear search fit? - cornerpoints: false # Output Dynesty cornerpoints figure during a non-linear search fit? - runplot: true # Output Dynesty runplot figure during a non-linear search fit? - traceplot: true # Output Dynesty traceplot figure during a non-linear search fit? -emcee: - corner: true # Output Emcee corner figure during a non-linear search fit? - likelihood_series: true # Output Emcee likelihood series figure during a non-linear search fit? - time_series: true # Output Emcee time series figure during a non-linear search fit? - trajectories: true # Output Emcee trajectories figure during a non-linear search fit? -nautilus: - cornerplot: true # Output Nautilus cornerplot figure during a non-linear search fit? -zeus: - corner: true # Output Zeus corner figure during a non-linear search fit? - likelihood_series: true # Output Zeus likelihood series figure during a non-linear search fit? - time_series: true # Output Zeus time series figure during a non-linear search fit? - trajectories: true # Output Zeus trajectories figure during a non-linear search fit? \ No newline at end of file +nest: + corner_anesthetic: true # Output corner figure (using anestetic) during a non-linear search fit? +mcmc: + corner_cornerpy: true # Output corner figure (using corner.py) during a non-linear search fit? +mle: + subplot_parameters: true # Output a subplot of the best-fit parameters of the model? + log_likelihood_vs_iteration: true # Output a plot of the log likelihood versus iteration number? + figure_of_merit_vs_iteration: true # Output the global-best figure-of-merit trace (auto-convergence gradient searches)? \ No newline at end of file