ArrayOfIndexLinSpace

Workspace.ArrayOfIndexLinSpace(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfIndex, start: pyarts.arts.WorkspaceVariable | pyarts.arts.Index, stop: pyarts.arts.WorkspaceVariable | pyarts.arts.Index, step: pyarts.arts.WorkspaceVariable | pyarts.arts.Index, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Initializes an ArrayOfIndex with linear spacing.

The first element equals always the start value, and the spacing equals always the step value, but the last value can deviate from the stop value. step can be both positive and negative.

The created array is [start, start+step, start+2*step, …]

Author(s): Oliver Lemke

Parameters:
  • output (ArrayOfIndex) – Output array. [OUT]

  • start (Index) – Start value. [IN]

  • stop (Index) – Maximum/minimum value of the end value. [IN]

  • step (Index) – Spacing of the array. [IN]

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