yApplySensorPol

Workspace.yApplySensorPol(self: pyarts.arts._Workspace, y: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.y, y_f: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.y_f, y_pol: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfIndex | None = self.y_pol, y_pos: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.y_pos, y_los: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.y_los, y_aux: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfVector | None = self.y_aux, y_geo: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.y_geo, jacobian: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.jacobian, stokes_dim: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.stokes_dim, jacobian_do: pyarts.arts.WorkspaceVariable | pyarts.arts.Index | None = self.jacobian_do, sensor_pos: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.sensor_pos, sensor_pol: pyarts.arts.WorkspaceVariable | pyarts.arts.Matrix | None = self.sensor_pol, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Extraction of arbitrary linear polarisation.

This method shall be called after yCalc() and then applies sensor_pol on the output of yCalc(). See sensor_pol for definition of the polarisation responses. The sensor_response given to yCalc() can not contain any polarisation response, it must maintain original Stokes elements. The value of stokes_dim must be >= 3.

The values in sensor_pol are applied on y, and jacobian if relevant. y_pol is set following the values in sensor_pol but is rounded to an integer value. Remaining data associated with y (e.g. y_pos) are set to the value matching the first Stokes element.

Author(s): Patrick Eriksson

Parameters:
  • y (Vector, optional) – The measurement vector. See y, defaults to self.y [INOUT]

  • y_f (Vector, optional) – The frequencies associated with y. See y_f, defaults to self.y_f [INOUT]

  • y_pol (ArrayOfIndex, optional) – The polarisation states associated with y. See y_pol, defaults to self.y_pol [INOUT]

  • y_pos (Matrix, optional) – The sensor positions associated with y. See y_pos, defaults to self.y_pos [INOUT]

  • y_los (Matrix, optional) – The line-of-sights associated with y. See y_los, defaults to self.y_los [INOUT]

  • y_aux (ArrayOfVector, optional) – Data auxilary to y. See y_aux, defaults to self.y_aux [INOUT]

  • y_geo (Matrix, optional) – The geo-position assigned to each element of y. See y_geo, defaults to self.y_geo [INOUT]

  • jacobian (Matrix, optional) – The Jacobian matrix. See jacobian, defaults to self.jacobian [INOUT]

  • stokes_dim (Index, optional) – The dimensionality of the Stokes vector (1-4). See stokes_dim, defaults to self.stokes_dim [IN]

  • jacobian_do (Index, optional) – Flag to activate (clear-sky) Jacobian calculations. See jacobian_do, defaults to self.jacobian_do [IN]

  • sensor_pos (Matrix, optional) – The sensor position for each measurement block. See sensor_pos, defaults to self.sensor_pos [IN]

  • sensor_pol (Matrix, optional) – A set of polarisation response angles. See sensor_pol, defaults to self.sensor_pol [IN]

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