Source code for autogalaxy.profiles.light.linear.exponential

from typing import Tuple

from autogalaxy.profiles.light.linear.abstract import LightProfileLinear

from autogalaxy.profiles.light import standard as lp


[docs] class Exponential(lp.Exponential, LightProfileLinear): def __init__( self, centre: Tuple[float, float] = (0.0, 0.0), ell_comps: Tuple[float, float] = (0.0, 0.0), effective_radius: float = 0.6, ): """ The elliptical Exponential light profile. Parameters ---------- centre The (y,x) arc-second coordinates of the profile centre. ell_comps The first and second ellipticity components of the elliptical coordinate system. effective_radius The circular radius containing half the light of this profile. """ super().__init__( centre=centre, ell_comps=ell_comps, intensity=1.0, effective_radius=effective_radius, )
[docs] class ExponentialSph(Exponential): def __init__( self, centre: Tuple[float, float] = (0.0, 0.0), effective_radius: float = 0.6, ): """ The spherical Exponential light profile. Parameters ---------- centre The (y,x) arc-second coordinates of the profile centre. effective_radius The circular radius containing half the light of this profile. """ super().__init__( centre=centre, ell_comps=(0.0, 0.0), effective_radius=effective_radius, )