f_gridFromAbsorptionLines

Workspace.f_gridFromAbsorptionLines(self: pyarts.arts._Workspace, f_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.f_grid, abs_lines_per_species: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfArrayOfAbsorptionLines]] = self.abs_lines_per_species, delta_f_low: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric]] = -5e6, delta_f_upp: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric]] = 5e6, num_freqs: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Sets f_grid to a grid relative to abs_lines_per_species

Each line will have abs_lines_per_species will have a grid of num_freqs grid points in [ f0 + delta_f_low, f0 + delta_f_upp ], where f0 is the line center.

Before leaving the function, f_grid is sorted.

Note that this method could generate significantly large f_grid if used carelessly

Author(s): Richard Larsson

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

  • abs_lines_per_species (ArrayOfArrayOfAbsorptionLines, optional) – A list of spectral line data for each tag. See abs_lines_per_species, defaults to self.abs_lines_per_species [IN]

  • delta_f_low (Numeric, optional) – Lower range of delta f. Defaults to -5e6 [IN]

  • delta_f_upp (Numeric, optional) – Upper range of delta f. Defaults to 5e6 [IN]

  • num_freqs (Index) – Number of frequencies. [IN]

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