sunFromGrid
- Workspace.sunFromGrid(self, sun: pyarts3.arts.Sun | None = None, frequency_grid: pyarts3.arts.AscendingGrid | None = None, latitude: pyarts3.arts.Numeric | None = None, longitude: pyarts3.arts.Numeric | None = None, sun_spectrum_raw: pyarts3.arts.GriddedField2 | None = None, radius: pyarts3.arts.Numeric | None = None, distance: pyarts3.arts.Numeric | None = None, temperature: pyarts3.arts.Numeric | None = None, description: pyarts3.arts.String | None = None) None
Extracts a sun spectrum from a field of such data.
The method allows to obtain the sun spectrum by interpolation from a field of such data. The sun spectrum is expected to be stored as the irradiance at the suns photosphere.
Unit:
GriddedField2: [W m-2 Hz-1]
Vector
frequency_grid[Hz]Vector
stokes_dim[1]
Dimensions: [
frequency_grid, stokes_dim]This method performs an interpolation onto the
frequency_grid. The point offrequency_gridthat are outside the data frequency grid are initialized according to planck’s law of the temperature variable. Hence, a temperature of 0 means 0s the edges of thefrequency_grid.Authors: Jon Petersen, Richard Larsson
- Parameters:
sun (Sun, optional) – A sun. See
sun, defaults toself.sun[OUT]frequency_grid (AscendingGrid, optional) – A single frequency grid. See
frequency_grid, defaults toself.frequency_grid[IN]latitude (Numeric, optional) – A single latitude. See
latitude, defaults toself.latitude[IN]longitude (Numeric, optional) – A single longitude. See
longitude, defaults toself.longitude[IN]sun_spectrum_raw (GriddedField2) – A raw spectrum. [IN]
radius (Numeric, optional) – The radius of the sun in meter. Default is the radius of our sun. . Defaults to
696324200[IN]distance (Numeric, optional) – The average distance between the sun and the planet in meter. Default value is set to 1 a.u. . Defaults to
149597870700[IN]temperature (Numeric, optional) – The effective temperature of the suns photosphere in Kelvin. Default is the temperature of our sun - 5772 Kelvin . Defaults to
5772[IN]description (String, optional) – A description of the sun. Defaults to
"A sun"[IN]