f_gridMetMM
- Workspace.f_gridMetMM(self: pyarts.arts._Workspace, f_grid: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.f_grid, f_backend: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.f_backend, channel2fgrid_indexes: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfArrayOfIndex]] = self.channel2fgrid_indexes, channel2fgrid_weights: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfVector]] = self.channel2fgrid_weights, met_mm_backend: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix]] = self.met_mm_backend, freq_spacing: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = std::initializer_list<Numeric>{.1e9}, freq_number: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfIndex]] = std::initializer_list<Index>{-1}, freq_merge_threshold: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric]] = 1, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Sets
f_gridand associated variables match MetMM settings.The method calculates
f_gridto match the specifications of amet_mm_backendtable and method arguments.You have to specify the desired spacing using the keyword
freq_spacing. You can pass aVectorwith one element to apply the same spacing to all channels or pass a spacing value for each channel separately.Optionally,
freq_numbercan be set to specify the mininum number of frequencies per passband for each channel. The frequencies are placed equally spaced in each passband. The minimum spacing resulting fromfreq_numberandfreq_spacingwill be used for the calculation. To explicitly usefreq_spacingfor a channel,freq_numbercan be set to -1 for this channel.The number of elements in
freq_numbercan either be the number of channels or 1. If only one element is given, this number is used for all channels. Iffreq_numberis 1 andfreq_spacingis wider than the bandwidth of the channel, one frequency is placed in the middle of each passband.Frequencies that would be closer than
freq_merge_thresholdin the generatedf_gridare merged together. This value should be left at the default value. This is only meant to compensate for numerical inaccuracies in the frequency calculation to merge frequency that are supposed to be identical.Author(s): Oliver Lemke, Patrick Eriksson
- Parameters:
f_grid (Vector, optional) – The frequency grid for monochromatic pencil beam calculations. See
f_grid, defaults toself.f_grid[OUT]f_backend (Vector, optional) – The frequency position of each backend (spectrometer) channel. See
f_backend, defaults toself.f_backend[OUT]channel2fgrid_indexes (ArrayOfArrayOfIndex, optional) – Definition of backend frequency response, link to
f_grid. Seechannel2fgrid_indexes, defaults toself.channel2fgrid_indexes[OUT]channel2fgrid_weights (ArrayOfVector, optional) – Definition of backend frequency response, weighting of
f_grid. Seechannel2fgrid_weights, defaults toself.channel2fgrid_weights[OUT]met_mm_backend (Matrix, optional) – Backend description for meteorological millimeter sensors with passbands. See
met_mm_backend, defaults toself.met_mm_backend[IN]freq_spacing (Vector, optional) – Desired grid spacing in Hz. Defaults to
[.1e9][IN]freq_number (ArrayOfIndex, optional) – Number of frequencies per passband for each channel. Defaults to
[-1][IN]freq_merge_threshold (Numeric, optional) – Merge frequencies that are closer than this value in Hz. Defaults to
1[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity, defaults toself.verbosity[IN]