spectral_radSunsOrCosmicBackground

Workspace.spectral_radSunsOrCosmicBackground(self, spectral_rad: pyarts3.arts.StokvecVector | None = None, freq_grid: pyarts3.arts.AscendingGrid | None = None, ray_point: pyarts3.arts.PropagationPathPoint | None = None, suns: pyarts3.arts.ArrayOfSun | None = None, surf_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_radSunOrCosmicBackground() instead.

Author: Richard Larsson

Parameters:
  • spectral_rad (StokvecVector, optional) – A spectral radiance vector. See spectral_rad, defaults to self.spectral_rad [OUT]

  • freq_grid (AscendingGrid, optional) – A frequency grid. Unit: Hz. See freq_grid, defaults to self.freq_grid [IN]

  • ray_point (PropagationPathPoint, optional) – A single path point. See ray_point, defaults to self.ray_point [IN]

  • suns (ArrayOfSun, optional) – A list of Sun. See suns, defaults to self.suns [IN]

  • surf_field (SurfaceField, optional) – The surface field. See surf_field, defaults to self.surf_field [IN]