coolest.template.classes.lensing_entity#
Classes#
Abstract lensing entity, typically a Galaxy or an MassField object. |
Module Contents#
- class LensingEntity(name: str, redshift: float, lensed: bool = False, mass_model: coolest.template.classes.mass_light_model.MassModel = None)[source]#
Abstract lensing entity, typically a Galaxy or an MassField object.
- Parameters:
name (str) – Name of the entity (e.g., the name of the galaxy)
redshift (float) – Redshift of the entity, if known / assumed
lensed (bool) – Whether the entity is lensed or not
mass_model (MassModel, optional) – Mass model (i.e., a set of mass profiles), by default None
- Raises:
ValueError – If the provided redshift is negative.