autolens.plot.subplot_fit_point#

subplot_fit_point(fit, output_path=None, output_format=None, image_plane_lines=None, image_plane_line_colors=None, source_plane_lines=None, source_plane_line_colors=None, title_prefix=None)#

Produce a subplot summarising a FitPointDataset.

The subplot contains one or two panels depending on whether flux measurements are present in the dataset:

  • Positions panel (always shown): observed point-source positions plotted as a grid, with the model-predicted positions overlaid as red scatter points.

  • Fluxes panel (shown only when fit.dataset.fluxes is not None): a bar/line plot of the observed flux values.

Parameters:
  • fit (FitPointDataset) – The point-source dataset fit to visualise.

  • output_path (Optional[str]) – Directory in which to save the figure. If None the figure is not saved to disk.

  • output_format (str) – Image format passed to save_figure.