covmat_sxAddBlock
- Workspace.covmat_sxAddBlock(self: pyarts.arts._Workspace, covmat_sx: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.CovarianceMatrix]] = self.covmat_sx, jacobian_quantities: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfRetrievalQuantity]] = self.jacobian_quantities, 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 a priori covariance matrix
covmat_sx
This functions adds a given matrix as a block in the covariance matrix
covmat_sx
. The position of the block can be given by the generic argumentsi
andj
, which should give the index of the retrieval quantity injacobian_quantities
, which is given just by the order the quantities have been added to the retrieval.If arguments
i
andj
are omitted, the block will be added as diagonal block for the last added retrieval quantity.If provided, the index
i
must be less than or equal toj
. Also the provided block must be consistent with the corresponding retrieval quantities.Author(s): Simon Pfreundschuh
- Parameters:
covmat_sx (CovarianceMatrix, optional) – Covariance matrix of a priori distribution. See
covmat_sx
, defaults toself.covmat_sx
[INOUT]jacobian_quantities (ArrayOfRetrievalQuantity, optional) – The retrieval quantities in the Jacobian matrix. See
jacobian_quantities
, defaults toself.jacobian_quantities
[IN]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 toself.verbosity
[IN]