absorption_bandsKeepID

Workspace.absorption_bandsKeepID(self, absorption_bands: pyarts.arts.AbsorptionBands | None = None, id: pyarts.arts.QuantumIdentifier | None = None, line: pyarts.arts.Index | None = None) None

Keeps first band of ID

If line is positive, also keep only the line of this index

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]

  • id (QuantumIdentifier) – Band to keep. [IN]

  • line (Index, optional) – Line to keep (if positive). Defaults to -1 [IN]