sortedIndexOfBands

Workspace.sortedIndexOfBands(self, sorted: pyarts.arts.ArrayOfIndex | None = None, absorption_bands: pyarts.arts.AbsorptionBands | None = None, criteria: pyarts.arts.String | None = None, reverse: pyarts.arts.Index | None = None, temperature: pyarts.arts.Numeric | None = None) None

Get the sorting of the bands by first quantum identifier then some criteria

The reverse sorting can also be achieved by setting reverse.

See AbsorptionBandSortingOption for valid criteria.

Author(s): Richard Larsson

Parameters:
  • sorted (ArrayOfIndex) – Sorted band indices (of absorption_bands). Defaults to create and/or use self.sorted : ArrayOfIndex. [OUT]

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

  • criteria (String, optional) – Internal sorting criteria. Defaults to "None" [IN]

  • reverse (Index, optional) – Sort in reverse order if true. Defaults to 0 [IN]

  • temperature (Numeric, optional) – Temperature to use for integrated intensity. Defaults to 296 [IN]