Lens Modeling#
Analysis#
The Analysis
objects define the log_likelihood_function
of how a lens model is fitted to a dataset.
It acts as an interface between the data, model and the non-linear search.
Fits a lens model to a dataset via a non-linear search. |
|
Analysis classes are used by PyAutoFit to fit a model to a dataset via a non-linear search. |
Non-linear Searches#
A non-linear search is an algorithm which fits a model to data.
PyAutoLens currently supports three types of non-linear search algorithms: nested samplers, Markov Chain Monte Carlo (MCMC) and optimizers.
A Nautilus non-linear search. |
|
A Dynesty non-linear search, using a dynamically changing number of live points. |
|
An Emcee non-linear search. |
|
A PySwarms Particle Swarm Optimizer global non-linear search. |
|
A PySwarms Particle Swarm Optimizer global non-linear search. |
Priors#
The priors of parameters of every component of a mdoel, which is fitted to data, are customized using Prior
objects.
A prior with a uniform distribution, defined between a lower limit and upper limit. |
|
A prior with a uniform distribution, defined between a lower limit and upper limit. |
|
A prior with a log base 10 uniform distribution, defined between a lower limit and upper limit. |
|
A prior with a log base 10 uniform distribution, defined between a lower limit and upper limit. |
Adapt#
The adapt setup of a pipeline, which controls how adaptive-features in PyAutoLens template pipelines run, for example controlling whether galaxies are used to scale the noise and the non-linear searches used in these searchs. |