VectorExtractFromMatrix

Workspace.VectorExtractFromMatrix(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, input: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix, i: pyarts.arts.WorkspaceVariable | pyarts.arts.Index, direction: pyarts.arts.WorkspaceVariable | pyarts.arts.String, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Extracts a Vector from a Matrix.

Copies row or column with given Index from input Matrix variable to create output Vector.

Author(s): Patrick Eriksson, Oliver Lemke, Stefan Buehler

Parameters:
  • output (Vector) – Extracted vector. [OUT]

  • input (Matrix) – Input matrix. [IN]

  • i (Index) – Index of row or column. [IN]

  • direction (String) – Direction. “row” or “column”. [IN]

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