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

from typing import Tuple

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

from autogalaxy.profiles.light import standard as lp


[docs] class DevVaucouleurs(lp.DevVaucouleurs, 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 DevVaucouleurs 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 DevVaucouleursSph(DevVaucouleurs): def __init__( self, centre: Tuple[float, float] = (0.0, 0.0), effective_radius: float = 0.6, ): """ The spherical DevVaucouleurs 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, )