ARTS built-in documentation server
Workspace Method sensor_responseBackendFrequencySwitching
Description
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.
Authors: Patrick Eriksson
Synopsis
sensor_responseBackendFrequencySwitching( | sensor_response, sensor_response_f, sensor_response_pol, sensor_response_za, sensor_response_aa, sensor_response_f_grid, sensor_response_pol_grid, sensor_response_za_grid, sensor_response_aa_grid, f_backend, backend_channel_response, sensor_norm, df_1, df2 ) |
Variables
OUT | sensor_response | (Sparse) | The matrix modelling the total sensor response. |
OUT | sensor_response_f | (Vector) | The frequencies associated with the output of sensor_response. |
OUT | sensor_response_pol | (ArrayOfIndex) | The polarisation states associated with the output of sensor_response. |
OUT | sensor_response_za | (Vector) | The relative zenith angles associated with the output of sensor_response. |
OUT | sensor_response_aa | (Vector) | The relative azimuth angles associated with the output of sensor_response. |
OUT | sensor_response_f_grid | (Vector) | The frequency grid associated with sensor_response. |
IN | sensor_response | (Sparse) | The matrix modelling the total sensor response. |
IN | sensor_response_f | (Vector) | The frequencies associated with the output of sensor_response. |
IN | sensor_response_pol | (ArrayOfIndex) | The polarisation states associated with the output of sensor_response. |
IN | sensor_response_za | (Vector) | The relative zenith angles associated with the output of sensor_response. |
IN | sensor_response_aa | (Vector) | The relative azimuth angles associated with the output of sensor_response. |
IN | sensor_response_f_grid | (Vector) | The frequency grid associated with sensor_response. |
IN | sensor_response_pol_grid | (ArrayOfIndex) | The "polarisation grid" associated with sensor_response. |
IN | sensor_response_za_grid | (Vector) | The zenith angle grid associated with sensor_response. |
IN | sensor_response_aa_grid | (Vector) | The azimuth angle grid associated with sensor_response. |
IN | f_backend | (Vector) | The frequency position of each backend (spectrometer) channel. |
IN | backend_channel_response | (ArrayOfGriddedField1) | The response of each backend channel. |
IN | sensor_norm | (Index) | Flag if sensor response should be normalised or not (0 or 1). |
GIN | df_1 | (Numeric) | Frequency throw for cycle1. |
GIN | df2 | (Numeric) | Frequency throw for cycle2. |