RetrievalAddErrorPolyFit
- Workspace.RetrievalAddErrorPolyFit(self, jacobian_targets: pyarts.arts.JacobianTargets | None = None, covariance_matrix_diagonal_blocks: pyarts.arts.JacobianTargetsDiagonalCovarianceMatrixMap | None = None, measurement_sensor: pyarts.arts.ArrayOfSensorObsel | None = None, t: pyarts.arts.Vector | None = None, sensor_elem: pyarts.arts.Index | None = None, polyorder: pyarts.arts.Index | None = None, matrix: pyarts.arts.BlockMatrix | None = None, inverse: pyarts.arts.BlockMatrix | None = None) None
Set a measurement error to polynomial fit.
This is a generic error that is simply added to
measurement_vector
as if\[y = y_0 + \epsilon(p_0, p_1, ..., p_n),\]where y represents
measurement_vector
and y0 is the measurementOrder 0 means constant: y := y0 + a Order 1 means linear: y := y0 + a + b * t and so on. The derivatives that are added to the
model_state_vector
are those with regards to a, b, etc..Note
The rule for the
sensor_elem
GIN is a bit complex. Generally, methods such asmeasurement_sensorAddSimple()
will simply add a single unique frequency grid to all the differentSensorObsel
that they add to themeasurement_sensor
. The GINsensor_elem
is 0 for the first unique frequency grid, 1 for the second, and so on. SeeArrayOfSensorObsel
member methods in python for help identifying and manipulating how many unique frequency grids are available inmeasurement_sensor
.This method wraps
jacobian_targetsAddErrorPolyFit()
together with adding the covariance matrices, to thecovariance_matrix_diagonal_blocks
, which are required to performOEM()
.The input covariance matrices must fit the size of the later computed model state represented by the
jacobian_targets
. The covariance matrix inverseAuthor(s): Richard Larsson
- Parameters:
jacobian_targets (JacobianTargets, optional) – A list of targets for the Jacobian Matrix calculations. See
jacobian_targets
, defaults toself.jacobian_targets
[INOUT]covariance_matrix_diagonal_blocks (JacobianTargetsDiagonalCovarianceMatrixMap, optional) – A helper map for setting the covariance matrix. See
covariance_matrix_diagonal_blocks
, defaults toself.covariance_matrix_diagonal_blocks
[INOUT]measurement_sensor (ArrayOfSensorObsel, optional) – A list of sensor elements. See
measurement_sensor
, defaults toself.measurement_sensor
[IN]t (Vector) – The grid of the perturbation. [IN]
sensor_elem (Index) – The sensor element whose frequency grid to use. [IN]
polyorder (Index, optional) – The order of the polynomial fit. Defaults to
0
[IN]matrix (BlockMatrix) – The covariance diagonal block matrix. [IN]
inverse (BlockMatrix, optional) – The inverse covariance diagonal block matrix. Defaults to
pyarts.arts.BlockMatrix()
[IN]