jacobianFromTwoY
- Workspace.jacobianFromTwoY(self: pyarts.arts._Workspace, jacobian: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix]] = self.jacobian, y: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.y, y_pert: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector], pert_size: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Sets
jacobian
based on the difference vetween two measurement vectors.This function assumes that
y_pert
contains a measurement calculated with some variable perturbed, in comparison to the calculation behindy
. The function takes the differences betweeny_pert
andy
to form a numerical derived estimate ofjacobian
. This gives a Jacobian wit a single column.jacobian
equals here: (y_pert-y)/pert_size.Author(s): Patrick Eriksson
- Parameters:
jacobian (Matrix, optional) – The Jacobian matrix. See
jacobian
, defaults toself.jacobian
[OUT]y (Vector, optional) – The measurement vector. See
y
, defaults toself.y
[IN]y_pert (Vector) – Perturbed measurement vector. [IN]
pert_size (Numeric) – Size of perturbation behind spectra in
ybatch
. [IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]