f_gridFromSensorAMSU
- Workspace.f_gridFromSensorAMSU(self: pyarts.arts._Workspace, f_grid: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.f_grid, lo_multi: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector | None = self.lo_multi, f_backend_multi: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfVector | None = self.f_backend_multi, backend_channel_response_multi: pyarts.arts.WorkspaceVariable | pyarts.arts.ArrayOfArrayOfGriddedField1 | None = self.backend_channel_response_multi, spacing: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = .1e9, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None
Automatically calculate f_grid to match the sensor.
This method is handy if you are simulating an AMSU-type instrument, consisting of a few discrete channels. The case that channels touch, as for MHS, is handled correctly. But the case that channels overlap is not (yet) handled and results in an error message.
The method calculates
f_grid
to match the instrument, as given by the local oscillator frequencieslo_multi
, the backend frequenciesf_backend_multi
, and the backend channel responsesbackend_channel_response_multi
.You have to specify the desired spacing in the keyword
spacing
, which has a default value of 100 MHz. (The actual value is 0.1e9, since our unit is Hz.)The produced grid will not have exactly the requested spacing, but will not be coarser than requested. The algorithm starts with the band edges, then adds additional points until the spacing is at least as fine as requested.
There is a similar method for HIRS-type instruments, see
f_gridFromSensorHIRS()
.Author(s): Stefan Buehler, Mathias Milz
- Parameters:
f_grid (Vector, optional) – The frequency grid for monochromatic pencil beam calculations. See
f_grid
, defaults toself.f_grid
[OUT]lo_multi (Vector, optional) – Local oscillator frequencies. See
lo_multi
, defaults toself.lo_multi
[IN]f_backend_multi (ArrayOfVector, optional) – As
f_backend
but describes an instrument with muliple. Seef_backend_multi
, defaults toself.f_backend_multi
[IN]backend_channel_response_multi (ArrayOfArrayOfGriddedField1, optional) – As
backend_channel_response
but describes an instrument with. Seebackend_channel_response_multi
, defaults toself.backend_channel_response_multi
[IN]spacing (Numeric, optional) – Desired grid spacing in Hz. Defaults to
.1e9
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]