API#
The Observatory#
The Observatory class is the main entry point for simulating astronomical images.
|
Observatory configuration. |
The Observatory Devices#
The Observatory class encapsulates the configuration of all key devices at an observatory, as well as its site.
|
Camera configuration and properties. |
|
A simple focuser model for simulating the effect of defocus on image quality. |
|
Telescope configuration. |
|
Observatory site configuration. |
A notable feature of the Camera class is its support for pixel defects, which are documented in the pixel defects section.
Generating images#
The simulation of images uses two important concepts:
Filters: Photometric bands (e.g., G, R, I) that determine the wavelength range in which the catalog fluxes are extracted for the simulation.
GaiaQuery: Provides methods to query star catalogs such as Gaia and 2MASS, returning tables or ready-to-use Sources objects for simulations. Query backends can be selected via
GaiaTAPSource(or by passing"GAIA"/"VIZIER"as a string) or viaGaiaSQLiteSource/sqlite:///...for offline catalogs.Sources: Representations of stars with positions and fluxes, either queried from catalogs or provided directly.
|
Allowed Gaia and 2MASS flux filter_band strings. |
Class to query Gaia DR3 data and retrieve sources. |
|
|
Configuration for querying a local SQLite catalog. |
|
TAP service endpoints for Gaia DR3 data. |
|
A collection of sources with their sky coordinates and fluxes. |