yApplyUnit
- Workspace.yApplyUnit(self: pyarts.arts._Workspace, y: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.y, jacobian: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.jacobian, y_f: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.y_f, y_pol: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfIndex | None = self.y_pol, iy_unit: pyarts.arts.WorkspaceVariable | pyarts.arts.String | None = self.iy_unit, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None
Conversion of
y
to other spectral units.Any conversion to brightness temperature is normally made inside
yCalc()
. This method makes it possible to also make this conversion afteryCalc()
, but with restrictions forjacobian
and with. respect to the n2-law of radiance.The conversion made inside
iyEmissionStandard()
is mimiced and see that method for constraints and selection of output units. This with the restriction that the n2-law can be ignored. The later is the case if the sensor is placed in space, or if the refractive only devaites slightly from unity.The method handles
y
andjacobian
in parallel, where the last variable is only considered if it is set. The input data must be in original radiance units. A completely stringent check of this can not be performed.The method can not be used with jacobian quantities that are not obtained through radiative transfer calculations. One example on quantity that can not be handled is
jacobianAddPolyfit()
. There are no automatic checks warning for incorrect usage!If you are using this method,
iy_unit
should be set to “1” when callingyCalc()
, and be changed before calling this method.Conversion of
y_aux
is not supported.Author(s): Patrick Eriksson
- Parameters:
y (Vector, optional) – The measurement vector. See
y
, defaults toself.y
[INOUT]jacobian (Matrix, optional) – The Jacobian matrix. See
jacobian
, defaults toself.jacobian
[INOUT]y_f (Vector, optional) – The frequencies associated with
y
. Seey_f
, defaults toself.y_f
[IN]y_pol (ArrayOfIndex, optional) – The polarisation states associated with
y
. Seey_pol
, defaults toself.y_pol
[IN]iy_unit (String, optional) – Selection of output unit for radiative transfer methods. See
iy_unit
, defaults toself.iy_unit
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]