autolens.plot.subplot_galaxies_images#

subplot_galaxies_images(tracer, grid, output_path=None, output_format=None, colormap=None, use_log10=False, title_prefix=None)[source]#

Produce a subplot showing per-galaxy images for every plane in the tracer.

Renders the following panels in a single row:

  1. Lens-plane (plane 0) image.

  2. For each subsequent plane i (i ≥ 1):

    1. The lensed image of galaxies in plane i evaluated on the ray-traced grid (titled "Image Of Plane <i>").

    2. The source-plane image of galaxies in plane i (titled "Plane Image Of Plane <i>").

The total number of panels is 2 * total_planes - 1.

Parameters:
  • tracer (Tracer) – The tracer whose planes are ray-traced and imaged.

  • grid (Union[ndarray, Grid2D, Grid2DIrregular]) – The 2-D (y, x) arc-second grid on which the images are evaluated.

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

  • colormap (Optional[str]) – Matplotlib colormap name.

  • use_log10 (bool) – If True the colour scale is applied on a log10 stretch.