Source code for autogalaxy.profiles.light.standard.exponential_core

from typing import Tuple

from autogalaxy.profiles.light.standard.sersic_core import SersicCore


[docs]class ExponentialCore(SersicCore): 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, radius_break: float = 0.01, intensity: float = 0.05, gamma: float = 0.25, alpha: float = 3.0, ): """ The elliptical cored-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. sersic_index Controls the concentration of the profile (lower -> less concentrated, higher -> more concentrated). radius_break The break radius separating the inner power-law (with logarithmic slope gamma) and outer Sersic function. intensity The intensity at the break radius. gamma The logarithmic power-law slope of the inner core profiles alpha : Controls the sharpness of the transition between the inner core / outer Sersic profiles. """ super().__init__( centre=centre, ell_comps=ell_comps, intensity=intensity, effective_radius=effective_radius, sersic_index=1.0, radius_break=radius_break, gamma=gamma, alpha=alpha, )
[docs]class ExponentialCoreSph(ExponentialCore): def __init__( self, centre: Tuple[float, float] = (0.0, 0.0), effective_radius: float = 0.6, radius_break: float = 0.01, intensity: float = 0.05, gamma: float = 0.25, alpha: float = 3.0, ): """ The elliptical cored-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. radius_break The break radius separating the inner power-law (with logarithmic slope gamma) and outer Sersic function. intensity The intensity at the break radius. gamma The logarithmic power-law slope of the inner core profiles alpha : Controls the sharpness of the transition between the inner core / outer Sersic profiles. """ super().__init__( centre=centre, ell_comps=(0.0, 0.0), effective_radius=effective_radius, radius_break=radius_break, intensity=intensity, gamma=gamma, alpha=alpha, ) self.radius_break = radius_break self.intensity = intensity self.alpha = alpha self.gamma = gamma