autogalaxy.plot.HyperPlotter#

class HyperPlotter[source]#

Bases: Plotter

Methods

close_subplot_figure

figure_contribution_map

Plot the contribution map of a hyper galaxy.

figure_hyper_galaxy_image

Plot the hyper galaxy image of a hyper galaxy.

figure_hyper_model_image

Plot the hyper model image of a hyper 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_contribution_map_list

Plots a subplot of the contribution maps of all hyper galaxies.

subplot_hyper_images_of_galaxies

Plots a subplot of the hyper galaxy image of all hyper galaxies.

subplot_of_plotters_figure

Attributes

get_1d

get_2d

is_for_subplot

figure_hyper_model_image(hyper_model_image)[source]#

Plot the hyper model image of a hyper galaxy.

Parameters

hyper_model_image (Array2D) – The hyper model image that is plotted.

figure_hyper_galaxy_image(galaxy_image)[source]#

Plot the hyper galaxy image of a hyper galaxy.

Parameters

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

figure_contribution_map(contribution_map)[source]#

Plot the contribution map of a hyper galaxy.

Parameters

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

subplot_hyper_images_of_galaxies(hyper_galaxy_image_path_dict)[source]#

Plots a subplot of the hyper galaxy image of all hyper galaxies.

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

Parameters

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

subplot_contribution_map_list(contribution_map_list_list)[source]#

Plots a subplot of the contribution maps of all hyper 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.