autogalaxy.plot.AdaptPlotter#
- class AdaptPlotter[source]#
Bases:
Plotter
Methods
close_subplot_figure
Plot the galaxy image of a galaxy.
Plot the adapt image of a galaxy.
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
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
Plots a subplot of the galaxy image of all galaxies.
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.