Galaxy / Tracer#

Galaxy / Tracer#

Galaxy and Galaxies model individual galaxies with light and mass profiles at a given redshift. Tracer groups galaxies by redshift into planes and performs multi-plane gravitational lensing ray-tracing, computing lensed images, convergence, deflection angles, magnification, critical curves, and caustics.

Galaxy

Class representing a galaxy, which is composed of attributes used for fitting galaxies (e.g. light profiles, mass profiles, pixelizations, etc.).

Galaxies

A collection of galaxies, used to perform operations on the galaxies as a group.

Tracer

Performs gravitational lensing ray-tracing calculations based on an input list of galaxies and a cosmology.

To treat the redshift of a galaxy as a free parameter in a model, the Redshift object must be used.

This is because PyAutoFit (which handles model-fitting), requires all parameters to be a Python class.

The Redshift object does not need to be used for general PyAutoGalaxy use.

Redshift

Class used when assigning a redshift to a Galaxy object.