autolens.plot.subplot_lensed_images#

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

Produce a subplot with one panel per tracer plane showing each plane’s image.

For each plane in the tracer the galaxies in that plane are evaluated on the ray-traced grid for that plane, producing the lensed image contribution from those galaxies. Each panel is titled "Image Of Plane <index>".

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