ArrayOfIndexSetConstant

Workspace.ArrayOfIndexSetConstant(self: pyarts.arts._Workspace, output: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfIndex], nelem: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.nelem, value: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Creates an ArrayOfIndex of length nelem, with all values identical.

Author(s): Patrick Eriksson

Parameters:
  • output (ArrayOfIndex) – Variable to initialize. [OUT]

  • nelem (Index, optional) – Number of elements of a Vector or Array. See nelem, defaults to self.nelem [IN]

  • value (Index) – Array value.. [IN]

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