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 thePointSolvergrid extent whensolveris given (where the model can find images), otherwise the critical-curve region ofcritical_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 ofplot_dataset_positions, which draws every source of a cluster in one panel.Fluxes panel (shown only when
dataset.fluxesis notNone): 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. IfNonethe figure is not saved to disk.output_format (
str) – Image format passed tosave_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.