Source code for autogalaxy.profiles.light.linear.gaussian
from typing import Tuple
from autogalaxy.profiles.light.linear.abstract import LightProfileLinear
from autogalaxy.profiles.light import standard as lp
[docs]
class Gaussian(lp.Gaussian, LightProfileLinear):
def __init__(
self,
centre: Tuple[float, float] = (0.0, 0.0),
ell_comps: Tuple[float, float] = (0.0, 0.0),
sigma: float = 1.0,
):
"""
The elliptical Gaussian 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.
sigma
The sigma value of the Gaussian, corresponding to ~ 1 / sqrt(2 log(2)) the full width half maximum.
"""
super().__init__(centre=centre, ell_comps=ell_comps, intensity=1.0, sigma=sigma)
[docs]
class GaussianSph(Gaussian):
def __init__(
self,
centre: Tuple[float, float] = (0.0, 0.0),
sigma: float = 1.0,
):
"""
The spherical Gaussian light profile.
Parameters
----------
centre
The (y,x) arc-second coordinates of the profile centre.
sigma
The sigma value of the Gaussian, corresponding to ~ 1 / sqrt(2 log(2)) the full width half maximum.
"""
super().__init__(centre=centre, ell_comps=(0.0, 0.0), sigma=sigma)