Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 117 additions & 1 deletion docs/api/plot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,29 @@ Choose the group that matches the object or result you want to inspect. The link
Basic plots
~~~~~~~~~~~

Display an array or a grid of coordinates.
Display an array or a grid of coordinates, or write an array to a ``.fits`` file.

.. autosummary::
:toctree: _autosummary

plot_array
plot_grid
fits_array

Dataset Subplots
~~~~~~~~~~~~~~~~

Inspect an imaging or interferometer dataset before fitting it, or write its components to ``.fits`` files.

.. autosummary::
:toctree: _autosummary

subplot_imaging_dataset
subplot_imaging_dataset_intro
subplot_imaging_dataset_list
fits_imaging
subplot_interferometer_dirty_images
fits_interferometer

Tracer and Galaxies subplots
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -62,6 +78,7 @@ Compare the image data and fitted model, and inspect residuals and other fit dia
subplot_fit_imaging_log10_x1_plane
subplot_fit_imaging_of_planes
subplot_fit_imaging_tracer
subplot_fit_imaging_mappings
subplot_fit_combined
subplot_fit_combined_log10

Expand All @@ -77,6 +94,7 @@ Inspect visibilities, fits and reconstructed images. Dirty images are useful dia
subplot_fit_interferometer
subplot_fit_interferometer_real_space
subplot_fit_interferometer_dirty_images
subplot_fit_interferometer_tracer
subplot_fit_interferometer_combined

Point Source subplots
Expand All @@ -90,6 +108,7 @@ Inspect the observed point-source positions, fitted predictions and solver outpu
subplot_fit_point
subplot_point_dataset
plot_point_solver
plot_image_with_points

Subhalo Detection subplots
~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -114,6 +133,102 @@ Inspect sensitivity results and their figures of merit across the lens.
subplot_sensitivity
subplot_sensitivity_figures_of_merit

Galaxy and Light and Mass Profile subplots
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Inspect profile components, combined galaxy images, basis profiles and adapt images. These functions are implemented by **PyAutoGalaxy** and re-exported through ``aplt``.

.. autosummary::
:toctree: _autosummary

subplot_galaxy_light_profiles
subplot_galaxy_mass_profiles
subplot_basis_image
subplot_galaxies
subplot_galaxy_images
subplot_adapt_images

Galaxy Fit subplots
~~~~~~~~~~~~~~~~~~~

Inspect a fit one galaxy at a time, or the real-space and dirty-image views of an interferometer fit. These are the **PyAutoGalaxy** fit subplots, re-exported through ``aplt``.

.. autosummary::
:toctree: _autosummary

subplot_fit_imaging_of_galaxy
subplot_fit_dirty_images
subplot_fit_real_space

Ellipse Fit subplots
~~~~~~~~~~~~~~~~~~~~

Inspect fitted isophotes and the errors associated with the ellipse fits.

.. autosummary::
:toctree: _autosummary

subplot_fit_ellipse
subplot_ellipse_errors

Magnification maps
~~~~~~~~~~~~~~~~~~

Map the lensing magnification in the image plane and source plane, and its uncertainty over a set of posterior draws.

.. autosummary::
:toctree: _autosummary

plot_magnification_2d
plot_magnification_source_plane
plot_magnification_source_plane_grid
plot_magnification_uncertainty_2d
magnification_fractional_error_2d_from

Cluster plots
~~~~~~~~~~~~~

Inspect a cluster dataset, its multiple-image positions and the critical curves and caustics of the lens model.

.. autosummary::
:toctree: _autosummary

subplot_cluster_dataset
plot_positions_overlay
plot_image_group_zooms
plot_critical_curves
plot_caustics

Weak Lensing plots
~~~~~~~~~~~~~~~~~~

Inspect a weak-lensing shear dataset, its fit, the shear profile and the convergence map.

.. autosummary::
:toctree: _autosummary

subplot_weak_dataset
plot_shear_yx_2d
plot_ellipticities
plot_phis
plot_noise_map
subplot_fit_weak
plot_data_vs_model
plot_residuals
plot_chi_squared_map
plot_shear_profile
plot_convergence_map

Twin comparisons
~~~~~~~~~~~~~~~~

Compare a fitted lens (the parent) with a simulated twin made from it (``al.twins.compare``): images, residuals, convergence, enclosed mass and critical curves.

.. autosummary::
:toctree: _autosummary

subplot_twin_comparison

.. _non-linear-search-plot-functions-aplt:

Search results
Expand All @@ -130,6 +245,7 @@ These functions visualize samples and search progress. They are implemented by *
corner_anesthetic
subplot_parameters
log_likelihood_vs_iteration
output_figure

.. _plot-customization-aplt:

Expand Down
Loading