absorption_bandsSelectFrequency

Workspace.absorption_bandsSelectFrequency(self, absorption_bands: pyarts.arts.AbsorptionBands | None = None, fmin: pyarts.arts.Numeric | None = None, fmax: pyarts.arts.Numeric | None = None, by_line: pyarts.arts.Index | None = None) None

Remove all lines/bands that strictly falls outside a frequency range

The line’s of each band must be sorted by frequency

Author(s): Richard Larsson

Parameters:
  • absorption_bands (AbsorptionBands, optional) – Bands of absorption lines for LBL calculations. See absorption_bands, defaults to self.absorption_bands [INOUT]

  • fmin (Numeric, optional) – Minimum frequency to keep. Defaults to -inf [IN]

  • fmax (Numeric, optional) – Maximum frequency to keep. Defaults to inf [IN]

  • by_line (Index, optional) – Selection is done line-by-line (if true) or band-by-band (if false). Defaults to 0 [IN]