spectral_radianceSunsOrCosmicBackground

Workspace.spectral_radianceSunsOrCosmicBackground(self, spectral_radiance: pyarts3.arts.StokvecVector | None = None, frequency_grid: pyarts3.arts.AscendingGrid | None = None, ray_path_point: pyarts3.arts.PropagationPathPoint | None = None, suns: pyarts3.arts.ArrayOfSun | None = None, surface_field: pyarts3.arts.SurfaceField | None = None) None

Get the spectral radiance of a sun or of the cosmic background if no sun is hit.

Note

Only the first sun is used if multiple suns are defined, so it is advantageous to have sorted suns by distance before running this code. If you only have one sun, this is of course not an issue but you could consider using spectral_radianceSunOrCosmicBackground() instead.

Author: Richard Larsson

Parameters: