autolens.plot.subplot_point_dataset#

subplot_point_dataset(dataset, output_path=None, output_format=None, title_prefix=None, solver=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), titled Dataset Positions (<name>): the observed point-source positions as large filled markers, each with a circle at its noise-map radius (never inflated, so it may be sub-pixel) and the sigma stated in the legend, e.g. Observed (σ = 0.005″). The panel extent is the PointSolver grid extent when solver is given (where the model can find images), otherwise the critical-curve region of critical_curve_grid_from, so no position is clipped. There are no axis labels, only arc-second tick labels. Images are numbered 1..N as on every point-source figure. This is the one-source case of plot_dataset_positions, which draws every source of a cluster in one panel.

  • 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.

  • title_prefix (str) – Text prepended to every panel title.

  • solver (PointSolver, optional) – The solver of the model-fit, whose grid sets the positions panel extent.