x2artsSensor

Workspace.x2artsSensor(self: pyarts.arts._Workspace, sensor_los: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.sensor_los, f_backend: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.f_backend, y_baseline: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.y_baseline, sensor_response: pyarts.arts.WorkspaceVariable | pyarts.arts.Sparse | None = self.sensor_response, sensor_response_f: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.sensor_response_f, sensor_response_pol: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfIndex | None = self.sensor_response_pol, sensor_response_dlos: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.sensor_response_dlos, sensor_response_f_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.sensor_response_f_grid, sensor_response_pol_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfIndex | None = self.sensor_response_pol_grid, sensor_response_dlos_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.sensor_response_dlos_grid, mblock_dlos: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.mblock_dlos, jacobian_quantities: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfRetrievalQuantity | None = self.jacobian_quantities, x: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.x, sensor_response_agenda: pyarts.arts.WorkspaceVariable | pyarts.arts.Agenda | None = self.sensor_response_agenda, sensor_checked: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.sensor_checked, sensor_time: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfTime | None = self.sensor_time, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Maps x to sensor variables.

Maps OEM’s state vector, x, to the matching ARTS variables. This method handles variables associated with the sensor. If you retrieve other variables, make sure that you also call x2artsAtmAndSurf() and/or x2artsSpectroscopy().

The following retrieval quantities are handled by this method:
  • Pointing

  • Frequency shift and stretch

  • Baseline fits

Should only be used inside inversion_iterate_agenda.

Elements in x representing pointing corrections are mapped to sensor_los. Elements representing frequency corrections are mapped to f_backend. Baseline variables are mapped to y_baseline.

The sensor response is recalculated if there is any non-zero frequency correction.

Author(s): Patrick Eriksson

Parameters:
  • sensor_los (Matrix, optional) – The sensor line-of-sight (LOS) for each measurement block. See sensor_los, defaults to self.sensor_los [INOUT]

  • f_backend (Vector, optional) – The frequency position of each backend (spectrometer) channel. See f_backend, defaults to self.f_backend [INOUT]

  • y_baseline (Vector, optional) – The baseline of y. See y_baseline, defaults to self.y_baseline [OUT]

  • sensor_response (Sparse, optional) – The matrix modelling the total sensor response. See sensor_response, defaults to self.sensor_response [INOUT]

  • sensor_response_f (Vector, optional) – The frequencies associated with the output of sensor_response. See sensor_response_f, defaults to self.sensor_response_f [INOUT]

  • sensor_response_pol (ArrayOfIndex, optional) – The polarisation states associated with the output of. See sensor_response_pol, defaults to self.sensor_response_pol [INOUT]

  • sensor_response_dlos (Matrix, optional) – The relative zenith and azimuth angles associated with the output of. See sensor_response_dlos, defaults to self.sensor_response_dlos [INOUT]

  • sensor_response_f_grid (Vector, optional) – The frequency grid associated with sensor_response. See sensor_response_f_grid, defaults to self.sensor_response_f_grid [INOUT]

  • sensor_response_pol_grid (ArrayOfIndex, optional) – The “polarisation grid” associated with sensor_response. See sensor_response_pol_grid, defaults to self.sensor_response_pol_grid [INOUT]

  • sensor_response_dlos_grid (Matrix, optional) – The zenith and azimuth angles associated with sensor_response. See sensor_response_dlos_grid, defaults to self.sensor_response_dlos_grid [INOUT]

  • mblock_dlos (Matrix, optional) – The set of angular pencil beam directions for each measurement block. See mblock_dlos, defaults to self.mblock_dlos [INOUT]

  • jacobian_quantities (ArrayOfRetrievalQuantity, optional) – The retrieval quantities in the Jacobian matrix. See jacobian_quantities, defaults to self.jacobian_quantities [IN]

  • x (Vector, optional) – The state vector. See x, defaults to self.x [IN]

  • sensor_response_agenda (Agenda, optional) – This agenda shall provide sensor_response and associated variables. See sensor_response_agenda, defaults to self.sensor_response_agenda [IN]

  • sensor_checked (Index, optional) – OK-flag for sensor related variables. See sensor_checked, defaults to self.sensor_checked [IN]

  • sensor_time (ArrayOfTime, optional) – The time for each measurement block. See sensor_time, defaults to self.sensor_time [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]