File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ """
2+ Quantity fit class for comparing derived lensing quantities across different models.
3+
4+ ``FitQuantity`` extends the ``autogalaxy`` base class to accept a ``Tracer`` as the
5+ model object. It fits a ``DatasetQuantity`` (e.g. a 2D convergence map, deflection
6+ angle map, or potential map) with the corresponding quantity derived from a tracer.
7+
8+ Typical use cases include:
9+
10+ - Comparing the convergence of a power-law mass profile with that of an NFW profile on
11+ the same grid, to quantify how well one approximates the other.
12+ - Fitting deflection angles computed by one lens model to those of another model, to
13+ propagate uncertainties from a parametric fit into a more complex model.
14+
15+ The ``AnalysisQuantity`` class uses ``FitQuantity`` as its evaluation engine when
16+ performing a Bayesian model fit via a non-linear search.
17+ """
118import autogalaxy as ag
219
320from autogalaxy .quantity .dataset_quantity import DatasetQuantity
Original file line number Diff line number Diff line change 1+ """
2+ Analysis class for fitting a ``Tracer`` model to a derived lensing quantity dataset.
3+
4+ ``AnalysisQuantity`` combines the ``autogalaxy`` quantity analysis with
5+ ``AnalysisLens`` so that a ``Tracer`` is used to evaluate the derived quantity
6+ (e.g. convergence, deflection angles, potential) being fitted.
7+
8+ It is used for model comparison workflows where two different mass profile families
9+ (e.g. power-law vs. NFW) are compared by fitting one's predicted lensing quantity to
10+ the other's, with a noise-map providing the figure-of-merit.
11+ """
112import numpy as np
213
314import autofit as af
You can’t perform that action at this time.
0 commit comments