autogalaxy.plot.subplot_galaxies#
- subplot_galaxies(galaxies, grid, output_path=None, output_format=None, colormap='default', use_log10=False, positions=None, light_profile_centres=None, mass_profile_centres=None, multiple_images=None, tangential_critical_curves=None, radial_critical_curves=None, auto_filename='galaxies', title_prefix=None)[source]#
Create a standard five-panel summary subplot for a collection of galaxies.
The subplot shows: image, convergence, potential, deflections-y, and deflections-x. Critical curves and various point overlays can be added to all lensing panels automatically.
- Parameters:
galaxies (sequence of Galaxy) – The galaxies to plot. Must not contain any
LightProfileLinearprofiles.grid (aa.type.Grid1D2DLike) – The grid on which all quantities are evaluated.
output_path (str or None) – Directory in which to save the figure.
None→plt.show().output_format (str) – File format, e.g.
"png".colormap (str) – Matplotlib colormap name, or
"default".use_log10 (bool) – Apply a log₁₀ stretch to the plotted values.
positions (array-like or None) – Arbitrary point positions to overlay on all panels.
light_profile_centres (array-like or None) – Light-profile centre coordinates to overlay.
mass_profile_centres (array-like or None) – Mass-profile centre coordinates to overlay.
multiple_images (array-like or None) – Multiple-image positions to overlay on all panels.
tangential_critical_curves (list or None) – Pre-computed tangential critical curves.
Nonetriggers automatic computation.radial_critical_curves (list or None) – Pre-computed radial critical curves.
Nonetriggers automatic computation.auto_filename (str) – Output filename stem (default
"subplot_galaxies").