ySimpleSpectrometer

Workspace.ySimpleSpectrometer(self: pyarts.arts._Workspace, y: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.y, y_f: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.y_f, iy: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix]] = self.iy, stokes_dim: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.stokes_dim, f_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.f_grid, df: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Converts iy to y assuming a fixed frequency resolution.

This is a short-cut, avoiding yCalc(), that can be used to convert monochromatic pencil beam data to spectra with a fixed resolution.

The method mimics a spectrometer with rectangular response functions, all having the same width (df). The position of the first spectrometer channel is set to f_grid[0] + df / 2. The centre frequency of channels are returned as y_f.

Auxiliary variables and jacobian s are not handled.

Author(s): Patrick Eriksson

Parameters:
  • y (Vector, optional) – The measurement vector. See y, defaults to self.y [OUT]

  • y_f (Vector, optional) – The frequencies associated with y. See y_f, defaults to self.y_f [OUT]

  • iy (Matrix, optional) – Monochromatic pencil beam radiance spectrum. See iy, defaults to self.iy [IN]

  • stokes_dim (Index, optional) – The dimensionality of the Stokes vector (1-4). See stokes_dim, defaults to self.stokes_dim [IN]

  • f_grid (Vector, optional) – The frequency grid for monochromatic pencil beam calculations. See f_grid, defaults to self.f_grid [IN]

  • df (Numeric) – Selected frequency resolution. [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]