AtmosphereResult

class nyx.core.records.AtmosphereResult[source]

Bases: Module

Output of atmosphere evaluation, consumed by the render loop.

extinction_hp and scattering_map cover the upper hemisphere only (nsky pixels, HEALPix RING ordering); npix is the full-sphere count, so that apply_extinction() can return a full map.

Attributes Summary

extinction_hp

n_wvl

Number of wavelength bins.

npix

nsky

Number of hemisphere sky pixels.

scattering_map

Methods Summary

apply_extinction(sky_radiance, bandpass)

Band-integrate radiance through line-of-sight extinction.

apply_scattering(sky_radiance_obs, bandpass)

Scatter radiance into the FOV grid, one observation at a time.

Attributes Documentation

extinction_hp = <dataclasses._MISSING_TYPE object>
n_wvl

Number of wavelength bins.

npix = <dataclasses._MISSING_TYPE object>
nsky

Number of hemisphere sky pixels.

scattering_map = <dataclasses._MISSING_TYPE object>

Methods Documentation

apply_extinction(sky_radiance, bandpass)[source]

Band-integrate radiance through line-of-sight extinction.

Parameters:
Returns:

Full-sphere HEALPix array, zero below the horizon; hemisphere pixels lead it in RING ordering.

Return type:

jax.Array, shape (npix,)

apply_scattering(sky_radiance_obs, bandpass)[source]

Scatter radiance into the FOV grid, one observation at a time.

Parameters:
Return type:

jax.Array, shape (n_lon, n_lat)

__init__(extinction_hp, scattering_map, npix)
static __new__(cls, *args, **kwargs)