autolens.plot.subplot_fit_imaging_log10#
- subplot_fit_imaging_log10(fit, output_path=None, output_format=None, colormap=None, plane_index=None, image_plane_lines=None, image_plane_line_colors=None, source_plane_lines=None, source_plane_line_colors=None, title_prefix=None, source_interpolated=True)#
Produce a 12-panel subplot summarising an imaging fit with log10 colour scaling.
Equivalent to
subplot_fitbut applies a log10 stretch to all positive-valued panels (data, model image, lens-light model, subtracted image, source model image, chi-squared map, source plane images). Residual panels are left on a linear scale because they contain negative values. Includes Source Plane (Max Zoom) and Source Plane (Mid Zoom) panels — Mid Zoom shares the Max Zoom centre with extents 2x larger, kept square and shrunk uniformly so all edges stay inside the No Zoom extent.With
source_interpolated(default) and a Delaunay / kNN source, the right-hand column matchessubplot_fit: Source Plane (Max Zoom), Source Plane (Interpolated) and Source Plane (No Zoom), all log10.For single-plane tracers the function delegates to
subplot_fit_log10_x1_plane.- Parameters:
fit (FitImaging) – The imaging fit to visualise.
output_path (
Optional[str]) – Directory in which to save the figure. IfNonethe figure is not saved to disk.output_format (
str) – Image format passed tosave_figure.colormap (
Optional[str]) – Matplotlib colormap name applied to all image panels.plane_index (
Optional[int]) – Index of the source plane to use for the source-scale panels. Defaults to the final plane in the tracer.source_interpolated (
bool) – When the source is a Delaunay / kNN pixelization, the right-hand source panels are Source Plane (Max Zoom) as flat triangles, then “Source Plane (Interpolated)” – the reconstruction the likelihood uses, over the max-zoom extent – in the middle, then Source Plane (No Zoom) bottom right. WhenFalse(or for rectangular / parametric sources) they are max, mid and no zoom. Set byplots.yamlfit: subplot_fit_source_interpolated(defaultTrue).