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.
PyAutoGalaxy currently supports three types of non-linear search algorithms: nested samplers, Markov Chain Monte Carlo (MCMC) and Maximum Likelihood Estimaotrs (MLE).
A Nautilus non-linear search. |
|
Abstract wrapper for the BFGS and L-BFGS scipy non-linear searches. |
|
Abstract wrapper for the BFGS and L-BFGS scipy non-linear searches. |
|
A Dynesty non-linear search, using a dynamically changing number of live points. |
|
An Emcee non-linear search. |
|
A PySwarms Particle Swarm MLE global non-linear search. |
|
A PySwarms Particle Swarm MLE global non-linear search. |
Priors#
The priors of parameters of every component of a model, 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 for a variable whose logarithm is gaussian distributed. |