autolens.plot.subplot_point_dataset#

subplot_point_dataset(dataset, output_path=None, output_format=None, title_prefix=None)#

Produce a subplot visualising a PointDataset.

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

  • Positions panel (always shown): the observed point-source positions rendered as a grid scatter plot.

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

Parameters:
  • dataset (PointDataset) – The point-source dataset 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.