iyReplaceFromAux
- Workspace.iyReplaceFromAux(self: pyarts.arts._Workspace, iy: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix]] = self.iy, iy_aux: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfMatrix]] = self.iy_aux, iy_aux_vars: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfString]] = self.iy_aux_vars, jacobian_do: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.jacobian_do, aux_var: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.String], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Change of main output variable.
With this method you can replace the content of
iy
with one of the auxiliary variables. The selected variable (byaux_var
) must be part ofiy_aux_vars
. The corresponding data fromiy_aux
are copied to form a newiy
(iy_aux
is left unchanged). Elements ofiy
correponding to Stokes elements not covered by the auxiliary variable are just set to zero.Jacobian variables are not handled.
Author(s): Patrick Eriksson
- Parameters:
iy (Matrix, optional) – Monochromatic pencil beam radiance spectrum. See
iy
, defaults toself.iy
[INOUT]iy_aux (ArrayOfMatrix, optional) – Data auxiliary to
iy
. Seeiy_aux
, defaults toself.iy_aux
[IN]iy_aux_vars (ArrayOfString, optional) – Selection of quantities for
iy_aux
and when applicable alsoy_aux
. Seeiy_aux_vars
, defaults toself.iy_aux_vars
[IN]jacobian_do (Index, optional) – Flag to activate (clear-sky) Jacobian calculations. See
jacobian_do
, defaults toself.jacobian_do
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]