spectral_radianceSunsOrCosmicBackground

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

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

Note that 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.

Author(s): Richard Larsson

Parameters: