lightcurvelynx.models.galaxy_models
Classes
A galaxy with constant brightness that falls of as a Guassian |
Module Contents
- class GaussianGalaxy(brightness, radius, **kwargs)[source]
Bases:
lightcurvelynx.models.physical_model.SEDModelA galaxy with constant brightness that falls of as a Guassian as the distance from the center increases.
Parameterized values include:
brightness - The inherent brightness at the center of the galaxy.
dec - The object’s declination in degrees. [from BasePhysicalModel]
distance - The object’s luminosity distance in pc. [from BasePhysicalModel]
galaxy_radius_std - The standard deviation of the brightness in degrees.
ra - The object’s right ascension in degrees. [from BasePhysicalModel]
redshift - The object’s redshift. [from BasePhysicalModel]
t0 - No effect for a GuassianGalaxy. [from BasePhysicalModel]
- Parameters:
brightness (float) – The inherent brightness at the center of the galaxy.
radius (float) – The standard deviation of the brightness as we move away from the galaxy’s center (in degrees).
**kwargs (dict, optional) – Any additional keyword arguments.
- compute_sed(times, wavelengths, graph_state, ra=None, dec=None, **kwargs)[source]
Draw effect-free observations for this object.
- Parameters:
times (numpy.ndarray) – A length T array of rest frame timestamps.
wavelengths (numpy.ndarray, optional) – A length N array of wavelengths (in angstroms).
graph_state (GraphState) – An object mapping graph parameters to their values.
ra (float, optional) – The right ascension of the observations in degrees.
dec (float, optional) – The declination of the observations in degrees.
**kwargs (dict, optional) – Any additional keyword arguments.
- Returns:
flux_density – A length T x N matrix of SED values (in nJy).
- Return type:
numpy.ndarray