sensor_responseBackendFrequencySwitching

Workspace.sensor_responseBackendFrequencySwitching(self: pyarts.arts._Workspace, sensor_response: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Sparse]] = self.sensor_response, sensor_response_f: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.sensor_response_f, sensor_response_pol: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfIndex]] = self.sensor_response_pol, sensor_response_dlos: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix]] = self.sensor_response_dlos, sensor_response_f_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.sensor_response_f_grid, sensor_response_pol_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfIndex]] = self.sensor_response_pol_grid, sensor_response_dlos_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix]] = self.sensor_response_dlos_grid, f_backend: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.f_backend, backend_channel_response: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfGriddedField1]] = self.backend_channel_response, sensor_norm: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.sensor_norm, df1: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], df2: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Frequency switching for a pure SSB reciever.

This function can be used for simulation of frequency switching. That is, when the final spectrum is the difference of two spectra shifted in frequency. The switching is performed by the LO, but for a pure singel sideband reciever this is most easily simulated by instead shifting the backend, as done here.

A strightforward frequency switching is modelled (no folding) The channel positions for the first measurement cycle are f_backend+df1, and for the second f_backend+df2. The first measurement cycle is given the negive weight. That is, the output is the spectrum for cycle2 minus the spectrum for cycle1. Output frequency grids are set to f_backend.

Use sensor_responseFrequencySwitching() for double sideband cases.

The method has the same general functionality as, and can replace, sensor_responseBackend().

Author(s): Patrick Eriksson

Parameters:
  • 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 [IN]

  • 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 [IN]

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

  • backend_channel_response (ArrayOfGriddedField1, optional) – The response of each backend channel. See backend_channel_response, defaults to self.backend_channel_response [IN]

  • sensor_norm (Index, optional) – Flag if sensor response should be normalised or not (0 or 1). See sensor_norm, defaults to self.sensor_norm [IN]

  • df1 (Numeric) – Frequency throw for cycle1. [IN]

  • df2 (Numeric) – Frequency throw for cycle2. [IN]

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