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) – , optionalInternal sorting criteria. [IN]

  • reverse (Index, optional) – , optionalSort in reverse order if true. [IN]

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