autogalaxy.plot.AdaptPlotter#

class AdaptPlotter[source]#

Bases: Plotter

Methods

close_subplot_figure

figure_contribution_map

Plot the contribution map of a galaxy.

figure_galaxy_image

Plot the galaxy image of a galaxy.

figure_model_image

Plots the adapt model image (e.g.

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

rtype:

Visuals2D

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_contribution_map_list

Plots a subplot of the contribution maps of all galaxies.

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.

subplot_contribution_map_list(contribution_map_list_list)[source]#

Plots a subplot of the contribution maps of all galaxies.

This uses the contribution_map_list which is a list of each galaxy’s corresponding contribution map.

Parameters:

contribution_map_list_list (List[Array2D]) – A list of each galaxy’s corresponding contribution map.

figure_contribution_map(contribution_map)[source]#

Plot the contribution map of a galaxy.

Parameters:

contribution_map (Array2D) – The contribution map that is plotted.