MatrixReshapeTensor3

Workspace.MatrixReshapeTensor3(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix, input: pyarts.arts.WorkspaceVariable | pyarts.arts.Tensor3, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Creates a matrix as reshaped version of a tenor3.

If the size of the tensor is [npages, nrows, ncols], the created matrix gets size [npages * nrows, ncols]. The matrix is filled with the tensor’s page dimension as the outermost loop.

Author(s): Patrick Eriksson

Parameters:
  • output (Matrix) – Matrix to fill. [OUT]

  • input (Tensor3) – Tensor3 to copy. [IN]

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