autolens.plot.InterferometerPlotter#

class autolens.plot.InterferometerPlotter(interferometer: ~autoarray.dataset.interferometer.interferometer.Interferometer, mat_plot_1d: ~autoarray.plot.mat_plot.one_d.MatPlot1D = <autoarray.plot.mat_plot.one_d.MatPlot1D object>, visuals_1d: ~autoarray.plot.visuals.one_d.Visuals1D = <autoarray.plot.visuals.one_d.Visuals1D object>, include_1d: ~autoarray.plot.include.one_d.Include1D = <autoarray.plot.include.one_d.Include1D object>, mat_plot_2d: ~autoarray.plot.mat_plot.two_d.MatPlot2D = <autoarray.plot.mat_plot.two_d.MatPlot2D object>, visuals_2d: ~autoarray.plot.visuals.two_d.Visuals2D = <autoarray.plot.visuals.two_d.Visuals2D object>, include_2d: ~autoarray.plot.include.two_d.Include2D = <autoarray.plot.include.two_d.Include2D object>)[source]#
__init__(interferometer: ~autoarray.dataset.interferometer.interferometer.Interferometer, mat_plot_1d: ~autoarray.plot.mat_plot.one_d.MatPlot1D = <autoarray.plot.mat_plot.one_d.MatPlot1D object>, visuals_1d: ~autoarray.plot.visuals.one_d.Visuals1D = <autoarray.plot.visuals.one_d.Visuals1D object>, include_1d: ~autoarray.plot.include.one_d.Include1D = <autoarray.plot.include.one_d.Include1D object>, mat_plot_2d: ~autoarray.plot.mat_plot.two_d.MatPlot2D = <autoarray.plot.mat_plot.two_d.MatPlot2D object>, visuals_2d: ~autoarray.plot.visuals.two_d.Visuals2D = <autoarray.plot.visuals.two_d.Visuals2D object>, include_2d: ~autoarray.plot.include.two_d.Include2D = <autoarray.plot.include.two_d.Include2D object>)[source]#

Plots the attributes of Interferometer objects using the matplotlib methods plot(), scatter() and imshow() and other matplotlib functions which customize the plot’s appearance.

The mat_plot_1d and mat_plot_2d attributes wrap matplotlib function calls to make the figure. By default, the settings passed to every matplotlib function called are those specified in the config/visualize/mat_wrap/*.ini files, but a user can manually input values into MatPlot2d to customize the figure’s appearance.

Overlaid on the figure are visuals, contained in the Visuals1D and Visuals2D objects. Attributes may be extracted from the LightProfile and plotted via the visuals object, if the corresponding entry is True in the Include1D or Include2D object or the config/visualize/include.ini file.

Parameters
  • interferometer – The interferometer dataset the plotter plots.

  • mat_plot_1d – Contains objects which wrap the matplotlib function calls that make 1D plots.

  • visuals_1d – Contains 1D visuals that can be overlaid on 1D plots.

  • include_1d – Specifies which attributes of the Interferometer are extracted and plotted as visuals for 1D plots.

  • mat_plot_2d – Contains objects which wrap the matplotlib function calls that make 2D plots.

  • visuals_2d – Contains 2D visuals that can be overlaid on 2D plots.

  • include_2d – Specifies which attributes of the Interferometer are extracted and plotted as visuals for 2D plots.

Methods

__init__(interferometer[, mat_plot_1d, ...])

Plots the attributes of Interferometer objects using the matplotlib methods plot(), scatter() and imshow() and other matplotlib functions which customize the plot's appearance.

close_subplot_figure()

figures_2d([visibilities, noise_map, ...])

Plots the individual attributes of the plotter's Interferometer object in 1D and 2D.

get_subplot_figsize(number_subplots)

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_real_space()

open_subplot_figure(number_subplots[, ...])

Setup a figure for plotting an image.

set_filename(filename)

set_format(format)

set_mat_plot_1d_for_multi_plot(...)

set_mat_plots_for_subplot(is_for_subplot[, ...])

set_title(label)

subplot([visibilities, noise_map, ...])

Plots the individual attributes of the plotter's Interferometer object in 1D and 2D on a subplot.

subplot_dirty_images()

Standard subplot of the dirty attributes of the plotter's Interferometer object.

subplot_interferometer()

Standard subplot of the attributes of the plotter's Interferometer object.

subplot_of_plotters_figure(plotter_list, name)

Attributes

get_1d

get_2d

is_for_subplot