autolens.plot.InterferometerPlotter

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

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(interferometer, mat_plot_1d, …) Initialize self.
close_subplot_figure()
extract_1d(name, value[, include_name]) Extracts an attribute for plotting in a Visuals1D object based on the following criteria:
extract_2d(name, value[, include_name]) Extracts an attribute for plotting in a Visuals2D object based on the following criteria:
figures_2d(visibilities, noise_map, …) Plot each attribute of the interferometer data_type as individual figures one by one (e.g.
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.
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, …)
subplot_dirty_images() Plot the interferometer data_type as a sub-mat_plot_2d of all its quantites (e.g.
subplot_interferometer() Plot the interferometer data_type as a sub-mat_plot_2d of all its quantites (e.g.
subplot_of_plotters_figure(plotter_list, name)

Attributes

is_for_subplot
visuals_with_include_2d
visuals_with_include_2d_real_space
figures_2d(visibilities: bool = False, noise_map: bool = False, u_wavelengths: bool = False, v_wavelengths: bool = False, uv_wavelengths: bool = False, amplitudes_vs_uv_distances: bool = False, phases_vs_uv_distances: bool = False, dirty_image: bool = False, dirty_noise_map: bool = False, dirty_signal_to_noise_map: bool = False, dirty_inverse_noise_map: bool = False)

Plot each attribute of the interferometer data_type as individual figures one by one (e.g. the dataset, noise_map, PSF, Signal-to_noise-map, etc).

Set autolens.data_type.array.mat_plot_2d.mat_plot_2d for a description of all innput parameters not described below.

Parameters:
  • interferometer (data_type.UVPlaneData) – The interferometer data_type, which include the observed data_type, noise_map, PSF, signal-to-noise_map, etc.
  • origin (True) – If true, the origin of the dataset’s coordinate system is plotted as a ‘x’.
subplot_interferometer()

Plot the interferometer data_type as a sub-mat_plot_2d of all its quantites (e.g. the dataset, noise_map, PSF, Signal-to_noise-map, etc).

Set autolens.data_type.array.mat_plot_2d.mat_plot_2d for a description of all innput parameters not described below.

Parameters:
  • interferometer (data_type.UVPlaneData) – The interferometer data_type, which include the observed data_type, noise_map, PSF, signal-to-noise_map, etc.
  • origin (True) – If true, the origin of the dataset’s coordinate system is plotted as a ‘x’.
  • or data_type.array.grid_stacks.PixGrid (image_plane_pix_grid) – If an adaptive pixelization whose pixels are formed by tracing pixels from the dataset, this plots those pixels over the immage.
  • ignore_config (bool) – If False, the config file general.ini is used to determine whether the subpot is plotted. If True, the config file is ignored.
subplot_dirty_images()

Plot the interferometer data_type as a sub-mat_plot_2d of all its quantites (e.g. the dataset, noise_map, PSF, Signal-to_noise-map, etc).

Set autolens.data_type.array.mat_plot_2d.mat_plot_2d for a description of all innput parameters not described below.

Parameters:
  • interferometer (data_type.UVPlaneData) – The interferometer data_type, which include the observed data_type, noise_map, PSF, signal-to-noise_map, etc.
  • origin (True) – If true, the origin of the dataset’s coordinate system is plotted as a ‘x’.
  • or data_type.array.grid_stacks.PixGrid (image_plane_pix_grid) – If an adaptive pixelization whose pixels are formed by tracing pixels from the dataset, this plots those pixels over the immage.
  • ignore_config (bool) – If False, the config file general.ini is used to determine whether the subpot is plotted. If True, the config file is ignored.