coolest.template.classes.galaxy#

Classes#

Galaxy

Class that defines a Galaxy entity (lens galaxy and/or source galaxy).

Module Contents#

class Galaxy(name: str, redshift: float, lensed: bool, light_model: coolest.template.classes.mass_light_model.LightModel = None, mass_model: coolest.template.classes.mass_light_model.MassModel = None)[source]#

Class that defines a Galaxy entity (lens galaxy and/or source galaxy).

Parameters:
  • name (str) – Name associated to the galaxy.

  • redshift (float) – Redshift of the galaxy, if any.

  • light_model (LightModel, optional) – Light model instance describing the surface brightness of the galaxy, by default None

  • mass_model (MassModel, optional) – Mass model instance describing the mass distribution of the galaxy, by default None

light_model = None[source]#
property has_light_profiles[source]#

Check if the galaxy has light profiles.