autogalaxy.plot.AdaptPlotter#

class AdaptPlotter[source]#

Bases: Plotter

Methods

close_subplot_figure

figure_galaxy_image

Plot the galaxy image of a galaxy.

figure_model_image

Plots the adapt model image (e.g. sum of all individual galaxy model images).

get_subplot_figsize

Get the size of a sub plotter in (total_y_pixels, total_x_pixels), based on the number of subplots that are going to be plotted.

get_visuals_2d

open_subplot_figure

Setup a figure for plotting an image.

set_filename

set_format

set_mat_plot_1d_for_multi_plot

set_mat_plots_for_subplot

set_title

subplot_images_of_galaxies

Plots a subplot of the galaxy image of all galaxies.

subplot_of_plotters_figure

Attributes

get_1d

get_2d

is_for_subplot

figure_model_image(model_image)[source]#

Plots the adapt model image (e.g. sum of all individual galaxy model images).

Parameters:

model_image (Array2D) – The adapt model image that is plotted.

figure_galaxy_image(galaxy_image)[source]#

Plot the galaxy image of a galaxy.

Parameters:

galaxy_image (Array2D) – The galaxy image that is plotted.

subplot_images_of_galaxies(adapt_galaxy_name_image_dict)[source]#

Plots a subplot of the galaxy image of all galaxies.

This uses the adapt_galaxy_name_image_dict which is a dictionary mapping each galaxy to its corresponding to galaxy image.

Parameters:

adapt_galaxy_name_image_dict (Dict[Galaxy, Array2D]) – A dictionary mapping each galaxy to its corresponding to galaxy image.