Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
PyAutoLens
PyAutoLens

Overview:

  • Start Here
  • New User Guide
  • Features

Installation:

  • Overview
  • Installation with conda
  • Installation with pip
  • Building From Source
  • Troubleshooting

General:

  • Workspace Tour
  • Configs
  • Model Cookbook
  • Likelihood Function
  • Demagnified Solutions
  • Citations & References
  • Papers
  • Credits

Tutorials:

  • HowToLens Lectures
  • Chapter 1: Strong Lensing
  • Chapter 2: Lens Modeling
  • Chapter 3: Search Chaining
  • Chapter 4: Pixelizations
  • Chapter: Optional

API Reference:

  • Data Structures
    • autolens.Mask2D
    • autolens.Array2D
    • autolens.Grid2D
    • autolens.Grid2DIrregular
    • autolens.Imaging
    • autolens.SimulatorImaging
    • autolens.Convolver
    • autolens.Convolver
    • autolens.Interferometer
    • autolens.SimulatorInterferometer
    • autolens.Visibilities
    • autolens.TransformerDFT
    • autolens.TransformerNUFFT
    • autolens.Mask1D
    • autolens.Array1D
    • autolens.ArrayIrregular
    • autolens.Grid1D
  • Light Profiles
    • autogalaxy.profiles.light.standard.Gaussian
    • autogalaxy.profiles.light.standard.GaussianSph
    • autogalaxy.profiles.light.standard.GaussianMultipole
    • autogalaxy.profiles.light.standard.Sersic
    • autogalaxy.profiles.light.standard.SersicSph
    • autogalaxy.profiles.light.standard.SersicMultipole
    • autogalaxy.profiles.light.standard.Exponential
    • autogalaxy.profiles.light.standard.ExponentialSph
    • autogalaxy.profiles.light.standard.DevVaucouleurs
    • autogalaxy.profiles.light.standard.DevVaucouleursSph
    • autogalaxy.profiles.light.standard.SersicCore
    • autogalaxy.profiles.light.standard.SersicCoreSph
    • autogalaxy.profiles.light.standard.ExponentialCore
    • autogalaxy.profiles.light.standard.ExponentialCoreSph
    • autogalaxy.profiles.light.standard.Chameleon
    • autogalaxy.profiles.light.standard.ChameleonSph
    • autogalaxy.profiles.light.standard.ElsonFreeFall
    • autogalaxy.profiles.light.standard.ElsonFreeFallSph
    • autogalaxy.profiles.light.linear.Gaussian
    • autogalaxy.profiles.light.linear.GaussianSph
    • autogalaxy.profiles.light.linear.GaussianMultipole
    • autogalaxy.profiles.light.linear.Sersic
    • autogalaxy.profiles.light.linear.SersicSph
    • autogalaxy.profiles.light.linear.SersicMultipole
    • autogalaxy.profiles.light.linear.Exponential
    • autogalaxy.profiles.light.linear.ExponentialSph
    • autogalaxy.profiles.light.linear.DevVaucouleurs
    • autogalaxy.profiles.light.linear.DevVaucouleursSph
    • autogalaxy.profiles.light.linear.SersicCore
    • autogalaxy.profiles.light.linear.SersicCoreSph
    • autogalaxy.profiles.light.linear.ExponentialCore
    • autogalaxy.profiles.light.linear.ExponentialCoreSph
    • autogalaxy.profiles.light.operated.Gaussian
    • autogalaxy.profiles.light.operated.Moffat
    • autogalaxy.profiles.light.operated.Sersic
    • autogalaxy.profiles.basis.Basis
  • Mass Profiles
    • autogalaxy.profiles.mass.PowerLawCore
    • autogalaxy.profiles.mass.PowerLawCoreSph
    • autogalaxy.profiles.mass.PowerLawBroken
    • autogalaxy.profiles.mass.PowerLawBrokenSph
    • autogalaxy.profiles.mass.IsothermalCore
    • autogalaxy.profiles.mass.IsothermalCoreSph
    • autogalaxy.profiles.mass.PowerLaw
    • autogalaxy.profiles.mass.PowerLawSph
    • autogalaxy.profiles.mass.Isothermal
    • autogalaxy.profiles.mass.IsothermalSph
    • autogalaxy.profiles.mass.dPIEMass
    • autogalaxy.profiles.mass.dPIEMassSph
    • autogalaxy.profiles.mass.PIEMass
    • autogalaxy.profiles.mass.dPIEPotential
    • autogalaxy.profiles.mass.dPIEPotentialSph
    • autogalaxy.profiles.mass.ExternalShear
    • autogalaxy.profiles.mass.ExternalPotential
    • autogalaxy.profiles.mass.MassSheet
    • autogalaxy.profiles.mass.PowerLawMultipole
    • autogalaxy.profiles.mass.PointMass
    • autogalaxy.profiles.mass.SMBH
    • autogalaxy.profiles.mass.SMBHBinary
    • autogalaxy.profiles.mass.Gaussian
    • autogalaxy.profiles.mass.GaussianGradient
    • autogalaxy.profiles.mass.Sersic
    • autogalaxy.profiles.mass.SersicSph
    • autogalaxy.profiles.mass.SersicCore
    • autogalaxy.profiles.mass.SersicCoreSph
    • autogalaxy.profiles.mass.Exponential
    • autogalaxy.profiles.mass.ExponentialSph
    • autogalaxy.profiles.mass.DevVaucouleurs
    • autogalaxy.profiles.mass.DevVaucouleursSph
    • autogalaxy.profiles.mass.SersicGradient
    • autogalaxy.profiles.mass.SersicGradientSph
    • autogalaxy.profiles.mass.Chameleon
    • autogalaxy.profiles.mass.ChameleonSph
    • autogalaxy.profiles.mass.gNFW
    • autogalaxy.profiles.mass.gNFWSph
    • autogalaxy.profiles.mass.gNFWMCRLudlow
    • autogalaxy.profiles.mass.gNFWVirialMassConcSph
    • autogalaxy.profiles.mass.gNFWVirialMassgNFWConcSph
    • autogalaxy.profiles.mass.NFW
    • autogalaxy.profiles.mass.NFWSph
    • autogalaxy.profiles.mass.NFWMCRDuffySph
    • autogalaxy.profiles.mass.NFWMCRLudlow
    • autogalaxy.profiles.mass.NFWMCRLudlowSph
    • autogalaxy.profiles.mass.NFWMCRScatterLudlow
    • autogalaxy.profiles.mass.NFWMCRScatterLudlowSph
    • autogalaxy.profiles.mass.NFWVirialMassConcSph
    • autogalaxy.profiles.mass.NFWTruncatedSph
    • autogalaxy.profiles.mass.NFWTruncatedMCRDuffySph
    • autogalaxy.profiles.mass.NFWTruncatedMCRLudlowSph
    • autogalaxy.profiles.mass.NFWTruncatedMCRScatterLudlowSph
    • autogalaxy.profiles.mass.cNFW
    • autogalaxy.profiles.mass.cNFWSph
    • autogalaxy.profiles.mass.cNFWMCRLudlow
    • autogalaxy.profiles.mass.cNFWMCRLudlowSph
    • autogalaxy.profiles.mass.cNFWMCRScatterLudlow
    • autogalaxy.profiles.mass.cNFWMCRScatterLudlowSph
    • autogalaxy.profiles.light_and_mass_profiles.Gaussian
    • autogalaxy.profiles.light_and_mass_profiles.GaussianGradient
    • autogalaxy.profiles.light_and_mass_profiles.Sersic
    • autogalaxy.profiles.light_and_mass_profiles.SersicSph
    • autogalaxy.profiles.light_and_mass_profiles.SersicCore
    • autogalaxy.profiles.light_and_mass_profiles.SersicCoreSph
    • autogalaxy.profiles.light_and_mass_profiles.SersicGradient
    • autogalaxy.profiles.light_and_mass_profiles.SersicGradientSph
    • autogalaxy.profiles.light_and_mass_profiles.Exponential
    • autogalaxy.profiles.light_and_mass_profiles.ExponentialSph
    • autogalaxy.profiles.light_and_mass_profiles.ExponentialGradient
    • autogalaxy.profiles.light_and_mass_profiles.ExponentialGradientSph
    • autogalaxy.profiles.light_and_mass_profiles.DevVaucouleurs
    • autogalaxy.profiles.light_and_mass_profiles.DevVaucouleursSph
    • autogalaxy.profiles.light_and_mass_profiles.Chameleon
    • autogalaxy.profiles.light_and_mass_profiles.ChameleonSph
    • autogalaxy.profiles.light_linear_and_mass_profiles.Gaussian
    • autogalaxy.profiles.light_linear_and_mass_profiles.GaussianGradient
    • autogalaxy.profiles.light_linear_and_mass_profiles.Sersic
    • autogalaxy.profiles.light_linear_and_mass_profiles.SersicSph
    • autogalaxy.profiles.light_linear_and_mass_profiles.SersicCore
    • autogalaxy.profiles.light_linear_and_mass_profiles.SersicCoreSph
    • autogalaxy.profiles.light_linear_and_mass_profiles.SersicGradient
    • autogalaxy.profiles.light_linear_and_mass_profiles.SersicGradientSph
    • autogalaxy.profiles.light_linear_and_mass_profiles.Exponential
    • autogalaxy.profiles.light_linear_and_mass_profiles.ExponentialSph
    • autogalaxy.profiles.light_linear_and_mass_profiles.ExponentialGradient
    • autogalaxy.profiles.light_linear_and_mass_profiles.ExponentialGradientSph
    • autogalaxy.profiles.light_linear_and_mass_profiles.DevVaucouleurs
    • autogalaxy.profiles.light_linear_and_mass_profiles.DevVaucouleursSph
  • Galaxy / Tracer
    • autolens.Galaxy
    • autolens.Galaxies
    • autolens.Tracer
    • autolens.Redshift
  • Fitting
    • autolens.FitImaging
    • autolens.FitInterferometer
  • Lens Modeling
    • autolens.AnalysisImaging
    • autolens.AnalysisInterferometer
    • autofit.Nautilus
    • autofit.LBFGS
    • autofit.BFGS
    • autofit.DynestyDynamic
    • autofit.Emcee
    • autofit.UniformPrior
    • autofit.GaussianPrior
    • autofit.LogUniformPrior
    • autofit.LogGaussianPrior
  • Pixelizations
    • autolens.Pixelization
    • autoarray.inversion.mesh.image_mesh.Overlay
    • autoarray.inversion.mesh.image_mesh.Hilbert
    • autoarray.inversion.mesh.image_mesh.KMeans
    • autoarray.inversion.mesh.mesh.RectangularAdaptDensity
    • autoarray.inversion.mesh.mesh.Delaunay
    • autoarray.inversion.regularization.Constant
    • autoarray.inversion.regularization.ConstantSplit
    • autoarray.inversion.regularization.Adapt
    • autoarray.inversion.regularization.AdaptSplit
    • autolens.Settings
    • autolens.Mapper
  • Point Sources
    • autolens.PointDataset
    • autolens.PointSolver
    • autolens.FitPointDataset
    • autolens.FitPositionsImagePair
    • autolens.FitPositionsImagePairAll
    • autolens.FitPositionsImagePairRepeat
    • autolens.FitPositionsSource
    • autolens.FitFluxes
    • autolens.FitTimeDelays
    • autolens.PositionsLH
    • autolens.AnalysisPoint
  • Plotting
    • autolens.plot.plot_array
    • autolens.plot.plot_grid
    • autolens.plot.subplot_tracer
    • autolens.plot.subplot_lensed_images
    • autolens.plot.subplot_galaxies_images
    • autolens.plot.subplot_fit_imaging
    • autolens.plot.subplot_fit_imaging_log10
    • autolens.plot.subplot_fit_imaging_x1_plane
    • autolens.plot.subplot_fit_imaging_log10_x1_plane
    • autolens.plot.subplot_fit_imaging_of_planes
    • autolens.plot.subplot_fit_imaging_tracer
    • autolens.plot.subplot_fit_combined
    • autolens.plot.subplot_fit_combined_log10
    • autolens.plot.subplot_fit_interferometer
    • autolens.plot.subplot_fit_interferometer_real_space
    • autolens.plot.subplot_fit_point
    • autolens.plot.subplot_point_dataset
    • autolens.plot.subplot_detection_imaging
    • autolens.plot.subplot_detection_fits
    • autolens.plot.subplot_sensitivity_tracer_images
    • autolens.plot.subplot_sensitivity
    • autolens.plot.subplot_sensitivity_figures_of_merit
    • autofit.plot.corner_cornerpy
    • autofit.plot.corner_anesthetic
    • autofit.plot.subplot_parameters
    • autofit.plot.log_likelihood_vs_iteration
  • Source Code
    • autogalaxy.profiles.geometry_profiles.EllProfile
    • autogalaxy.profiles.geometry_profiles.SphProfile
    • autolens.OperateImage
    • autolens.LensCalc
Back to top
Copyright © 2025, James Nightingale, Richard Hayes
Made with Sphinx and @pradyunsg's Furo
Last updated on Jun 08, 2026