diff --git a/autolens/exc.py b/autolens/exc.py index 5e9c4e831..05ca7c0f3 100644 --- a/autolens/exc.py +++ b/autolens/exc.py @@ -32,7 +32,7 @@ class PixelizationException(af.exc.FitException): """ Raises exceptions associated with the `inversion/pixelization` modules and `Pixelization` classes. - For example if a `RectangularAdaptDensity` mesh has dimensions below 3x3. + For example if a `RectangularRTUAdaptDensity` mesh has dimensions below 3x3. This exception overwrites `autoarray.exc.PixelizationException` in order to add a `FitException`. This means that if this exception is raised during a model-fit in the analysis class's `log_likelihood_function` that model diff --git a/docs/api/pixelization.rst b/docs/api/pixelization.rst index 2e221603b..fad2102a8 100644 --- a/docs/api/pixelization.rst +++ b/docs/api/pixelization.rst @@ -46,7 +46,10 @@ Mesh [ag.mesh] :template: custom-class-template.rst :recursive: - RectangularAdaptDensity + RectangularBilinearAdaptDensity + RectangularBilinearAdaptImage + RectangularRTUAdaptDensity + RectangularRTUAdaptImage Delaunay Regularization [ag.reg] diff --git a/test_autolens/config/priors/pixelizations.yaml b/test_autolens/config/priors/pixelizations.yaml index 236268359..ad57b6bb7 100644 --- a/test_autolens/config/priors/pixelizations.yaml +++ b/test_autolens/config/priors/pixelizations.yaml @@ -50,27 +50,6 @@ delaunay.DelaunayMagnification: width_modifier: type: Absolute value: 8.0 -rectangular.RectangularAdaptDensity: - shape_0: - limits: - lower: 3.0 - upper: inf - lower_limit: 20.0 - type: Uniform - upper_limit: 45.0 - width_modifier: - type: Absolute - value: 8.0 - shape_1: - limits: - lower: 3.0 - upper: inf - lower_limit: 20.0 - type: Uniform - upper_limit: 45.0 - width_modifier: - type: Absolute - value: 8.0 voronoi.VoronoiBrightnessImage: pixels: limits: @@ -123,3 +102,25 @@ voronoi.VoronoiMagnification: width_modifier: type: Absolute value: 8.0 +rectangular_bilinear_adapt_density.RectangularBilinearAdaptDensity: &id001 + shape_0: + limits: + lower: 3.0 + upper: inf + lower_limit: 20.0 + type: Uniform + upper_limit: 45.0 + width_modifier: + type: Absolute + value: 8.0 + shape_1: + limits: + lower: 3.0 + upper: inf + lower_limit: 20.0 + type: Uniform + upper_limit: 45.0 + width_modifier: + type: Absolute + value: 8.0 +rectangular_rtu_adapt_density.RectangularRTUAdaptDensity: *id001