covmat_seAddBlock

Workspace.covmat_seAddBlock(self: pyarts.arts._Workspace, covmat_se: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.CovarianceMatrix]] = self.covmat_se, block: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix, pyarts.arts.Sparse], i: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = -1, j: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = -1, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Add a block to the measurement covariance matrix covmat_se

This functions adds a given dense or sparse matrix as block to the covariance matrix covmat_sx. The position of the block can be given by the generic arguments i and j. Note that diagonal blocks must be added in order starting from in the top left corner. If an off-diagonal block is added it must have corresponding existing blocks on the diagonal and these must be consistent with the dimensions of the block. If i and j are not provided, the blok will be added at the first free spot on the diagonal.

Author(s): Simon Pfreundschuh

Parameters:
  • covmat_se (CovarianceMatrix, optional) – Covariance matrix for observation uncertainties. See covmat_se, defaults to self.covmat_se [INOUT]

  • block (Matrix or Sparse) – The block to add to the covariance matrix. [IN]

  • i (Index, optional) – Index of a retrieval quantity. Must satisfy i <= j. Defaults to -1 [IN]

  • j (Index, optional) – Index of a retrieval quantity. Must satisfy i <= j. Defaults to -1 [IN]

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