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 behind y. The function takes the differences between y_pert and y to form a numerical derived estimate of jacobian. 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 to self.jacobian [OUT]

  • y (Vector, optional) – The measurement vector. See y, defaults to self.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 to self.verbosity [IN]