Core¶
The core subpackage contains the fundamental building blocks of nsb2: spectral grids, atmospheric models, emitter interfaces, instrument responses, and the simulation pipeline.
Everything documented below is also re-exported from nsb2.core itself,
so from nsb2.core import Pipeline works as well as the full path.
Functions¶
|
Integrate a spectral quantity over wavelength. |
Classes¶
Wavelength-dependent transmission of an optical passband. |
|
Band-integrated rates tabulated on an N-dimensional parameter grid. |
|
Spectra tabulated on an N-dimensional grid of source parameters. |
Functions¶
|
Angular distance between two points on a sphere. |
Classes¶
Base class for atmospheric models. |
Classes¶
Several pipelines run together as one. |
|
One instrument and atmosphere, traced over a set of sources and paths. |
|
Structural type shared by |
Classes¶
Instrument described by a per-pixel effective aperture map. |
|
Base class for telescope and camera models. |
Classes¶
Resolved point sources from a photometric catalogue. |
|
A solar system body, whose position depends on the observation time. |
|
Diffuse source stored as a HEALPix radiance map. |
|
Diffuse source defined by analytic functions of longitude and latitude. |
|
Base class for diffuse sources that map one-to-one onto pixels. |
|
Base class for sky brightness sources. |
Functions¶
Load the Pickles stellar spectral atlas [Pickles1998]. |
|
Load the solar reference spectrum of [Rieke2008]. |
|
|
Build a spectral grid indexed by observed photometric colour. |
|
Compute the synthetic Vega magnitude of a spectrum in a passband. |
Functions¶
|
Transform geocentric true ecliptic to Sun-relative ecliptic coordinates. |
|
Transform Sun-relative ecliptic to geocentric true ecliptic coordinates. |
Classes¶
Ecliptic coordinates with longitude measured from the Sun. |
Classes¶
Direct light: source, atmospheric extinction, then the pixel it lands in. |
|
Base class for physical light paths from a source to a pixel. |
|
Scattered light: the whole visible sky, scattered into the field of view. |
Classes¶
Base class for solvers of the direct, extinction-only light path. |
|
Direct extinction evaluated by full spectral integration. |
|
Scattered light evaluated by full spectral integration. |
|
Direct extinction interpolated from a pre-compiled lookup table. |
|
Scattered light interpolated from a pre-compiled lookup table. |
|
Base class for solvers of the scattered, indirect light path. |
|
Base class for rate computation strategies. |
Classes¶
Assignment of sources to instrument pixels. |
|
Predicted pixel rates from one source along one light path. |
|
Sources whose spectra have been resolved onto a wavelength grid. |
|
Sources on the sky together with a reference to their spectra. |
Classes¶
Regular-grid interpolator that preserves units and dynamic range. |