autogalaxy.plot.AdaptPlotter#

class AdaptPlotter[source]#

Bases: Plotter

Methods

close_subplot_figure

figure_adapt_galaxy_image

Plot the galaxy image of a galaxy.

figure_adapt_model_image

Plot the adapt image of a galaxy.

figure_contribution_map

Plot the contribution map of a galaxy.

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_adapt_images_of_galaxies

Plots a subplot of the galaxy image of all galaxies.

subplot_contribution_map_list

Plots a subplot of the contribution maps of all galaxies.

subplot_of_plotters_figure

Attributes

get_1d

get_2d

is_for_subplot

figure_adapt_model_image(adapt_model_image)[source]#

Plot the adapt image of a galaxy.

Parameters

adapt_model_image (Array2D) – The adapt image that is plotted.

figure_adapt_galaxy_image(galaxy_image)[source]#

Plot the galaxy image of a galaxy.

Parameters

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

subplot_adapt_images_of_galaxies(adapt_galaxy_image_path_dict)[source]#

Plots a subplot of the galaxy image of all galaxies.

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

Parameters

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