slicersim.scene.host#
Scene: host module.
Host is the SceneElement describing the host galaxy of the observed
target: a spatially extended source, modeled as a spectrum (spectral model)
multiplied by a 2D surface-brightness profile (spatial model).
The model is named "spatial:spectral", e.g. "sersic:bb-5000":
spatial models:
"sersic"(analytic profile, seeget_sersic_profile) or an NGC galaxy name, e.g."ngc0628"(its r-band image, seeGalaxySpatialModel);spectral models:
"bb"or"blackbody", optionally followed by the temperature in K ("bb-5000", seeget_blackbody_flux), or an NGC galaxy name, e.g."ngc0628"(its spectral template, seegeneric_get_flux).
A bare NGC name, e.g. "ngc0628", is understood as "ngc0628:ngc0628"
(image and spectrum of the same galaxy). NGC names are case insensitive and
NGC data require the lazuli_astrosim_data package.
Use get_host_config to get a default configuration for a model name, and
Host.from_config (or Host.from_modelname) to build the host.
Classes
Structured background representing the host galaxy of the observed target. |
Functions
Get a default host configuration for a given model name. |
|
Split a host model name into its spatial and spectral models. |