antenna_responseGaussianConstant
- Workspace.antenna_responseGaussianConstant(self: pyarts.arts._Workspace, antenna_response: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.GriddedField4]] = self.antenna_response, fwhm: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], grid_width: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric]] = -1.0, grid_npoints: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 21, do_2d: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 0, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Sets up a Gaussian antenna response, with no frequency variation.
The method assumes that the response is the same for all frequencies and polarisations, and that it can be modelled as Gaussian. The width of the Gaussian is specified by its full width at half maximum (FWHM).
The grid generated has
grid_npoints
equidistant values, with the first one at -grid_width/2 and the last one at grid_width/2.If
grid_width
is set to <= 0, a default of twice the FWMH is applied. This gives a coverage of about 98% of the response.The default for
grid_npoints
is 21. When the grid width is 2*FWHM, that default value gives an error < 0.001 of the integrated response using trapezoidal integration.grid_npoints
must be > 1.If the 2D option is selected (
do_2d
), a circular antenna is assumed. The same grid and FWHM is applied in both dimensions.If the grid has a sufficiently high width the integral of the response is 1. Otherwise the integral is smaller than 1. That is, no normalisation is applied.
Author(s): Patrick Eriksson
- Parameters:
antenna_response (GriddedField4, optional) – The antenna pattern/response. See
antenna_response
, defaults toself.antenna_response
[OUT]fwhm (Numeric) – Full width at half-maximum of the Gaussian function. [IN]
grid_width (Numeric, optional) – Full width of grid (negative value gives 2*fwhm). Defaults to
-1.0
[IN]grid_npoints (Index, optional) – Number of points to represent the grid, see above. Defaults to
21
[IN]do_2d (Index, optional) – Set to 1 to create a 2D antenna pattern. Defaults to
0
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]