RetrievalAddSensorFrequencyPolyFit
- Workspace.RetrievalAddSensorFrequencyPolyFit(self, jacobian_targets: pyarts.arts.JacobianTargets | None = None, covariance_matrix_diagonal_blocks: pyarts.arts.JacobianTargetsDiagonalCovarianceMatrixMap | None = None, measurement_sensor: pyarts.arts.ArrayOfSensorObsel | None = None, d: pyarts.arts.Numeric | 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 sensor frequency derivative to use polynomial fitting offset
Order 0 means constant: f := f0 + a Order 1 means linear: f := f0 + a + b * f0 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_targetsAddSensorFrequencyPolyFit()
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]d (Numeric, optional) – , optionalThe perturbation used in methods that cannot compute derivatives analytically. [IN]
sensor_elem (Index) – The sensor element whose frequency grid to use. [IN]
polyorder (Index, optional) – , optionalThe order of the polynomial fit. [IN]
matrix (BlockMatrix) – The covariance diagonal block matrix. [IN]
inverse (BlockMatrix, optional) – , optionalThe inverse covariance diagonal block matrix. [IN]