AtmosphereModel¶
- class nyx.core.protocols.AtmosphereModel[source]¶
Bases:
ModuleExtinction and scattering, shared across every instrument in a scene.
Trainable quantities are the
Parameterfields a subclass declares.Methods Summary
evaluate(sky)Extinction and scattering for the current trainable parameters.
extinct(altitudes, spectra, height_km)Extinct point-source spectra; the default returns them unchanged.
scatter_sources(sky, source_coords, ...)Scatter discrete point sources into the FOV; the default is none.
Methods Documentation
- evaluate(sky)[source]¶
Extinction and scattering for the current trainable parameters.
- Parameters:
sky (SkyGeometry)
- Return type:
- extinct(altitudes, spectra, height_km)[source]¶
Extinct point-source spectra; the default returns them unchanged.
- scatter_sources(sky, source_coords, source_spectra, bp)[source]¶
Scatter discrete point sources into the FOV; the default is none.
- __init__()¶
- static __new__(cls, *args, **kwargs)¶