covmat_seAddInverseBlock
- Workspace.covmat_seAddInverseBlock(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 the inverse of a block to covariance matrix
covmat_se
This functions adds a given matrix as the inverse of a block in the covariance matrix
covmat_se
. The purpose of this function is to allow the user to to use a precomputed inverse for this block in the covariance matrix, that may for example have been obtained analytically.This function requires the corresponding non-inverse block to already be present in
covmat_se
If the ‘i’ and ‘j’ input arguments are not given, the inverse block will be added at the position of the most recently added non-inverse diagonal block.
Note that for this to work this retrieval quantity must be independent from other retrieval quantities that do not have an inverse. Otherwise the inverse will be ignored and recomputed numerically.
For the rest, the same requirements as for
covmat_seAddBlock()
apply.Author(s): Simon Pfreundschuh
- Parameters:
covmat_se (CovarianceMatrix, optional) – Covariance matrix for observation uncertainties. See
covmat_se
, defaults toself.covmat_se
[INOUT]block (Matrix or Sparse) – The inverse 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 toself.verbosity
[IN]