ARTS built-in documentation server

Workspace Method y_unitApply

Description

Conversion to other spectral units.

Any conversion to brightness temperature is normally made inside
yCalc. This method makes it possible to also make this conversion
after yCalc, but with restrictions for jacobian.

The method handles y, y_error and jacobian in parallel, where
the two last variables are only considered if they are 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.

If you are using this method, y_unit should be set to "1" when
calling yCalc, and be changed before calling this method.

See further y_unit.

Authors: Patrick Eriksson

Synopsis

y_unitApply( y, y_error, jacobian, y_f, y_pol, y_unit )

Variables

OUTy(Vector)The measurement vector.
OUTy_error(Vector)Estimate of calculation errors in y.
OUTjacobian(Matrix)The Jacobian matrix.
INy(Vector)The measurement vector.
INy_error(Vector)Estimate of calculation errors in y.
INjacobian(Matrix)The Jacobian matrix.
INy_f(Vector)The frequencies associated with y.
INy_pol(ArrayOfIndex)The polarisation states associated with y.
INy_unit(String)Unit for spectral values returned by radiative transfer methods.