autolens.plot.subplot_fit_interferometer#
- subplot_fit_interferometer(fit, output_path=None, output_format=None, colormap=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 interferometer fit.
Arranges the following panels in a 3 × 4 grid, the right-hand column holding the source plane as in the imaging
fit.png:Amplitudes vs UV-distance (scatter)
Dirty image
Dirty model image (with critical curves)
Source plane image (max zoom)
Dirty residual map
Normalised residual (real part) vs UV-distance (scatter)
Normalised residual (imaginary part) vs UV-distance (scatter)
Source plane image (mid zoom – same centre as max zoom, 2× wider extent)
Dirty normalised residual map
Dirty normalised residual map clipped to ± 1 σ
Dirty chi-squared map
Source plane image (full extent)
With
source_interpolated(default) and a Delaunay / kNN source, the mid-zoom panel shows the interpolated reconstruction instead. Every source-plane panel shares one colour scale (_get_source_vmax).On an array-free dataset (
fit.dataset.is_array_free) there are no visibilities, so a 2 × 3 grid of the natural-weighted dirty image, dirty model image and dirty residual map plus the zoomed and unzoomed source plane is written to the same filename instead.- Parameters:
fit (FitInterferometer) – The interferometer 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.source_interpolated (
bool) – When the source is a Delaunay / kNN pixelization, the right-hand source panels are Source Plane (Max Zoom) as flat triangles, which show the mesh resolution, 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. The array-free 2 x 3 layout adds the interpolated panel in its free last panel and keeps both triangle panels. Set byplots.yamlfit: subplot_fit_source_interpolated(defaultTrue).