dlosUniform
- Workspace.dlosUniform(self: pyarts.arts._Workspace, dlos: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Matrix]] = self.dlos, dlos_weight_vector: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.dlos_weight_vector, width: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], npoints: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index], crop_circular: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 0, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Gives
dlos
a rectangular coverage, with uniform spacing.The directions described by
dlos
are uniform with respect to relative zenith and azimuth (and thus are NOT uniform in solid angle). The same angular grid is applied in both angular dimensions. With width = 1 and npoints = 5, the angular grids both are [-0.4, -0.2, 0, 0.2, 0.4].The inner loop in is the zenith direction. That is, first comes all relative zenith angles for first relative azimuth angle etc.
For default settings, the resulting number of dlos-directions is npoints * npoints.
If GIN
crop_circular
is true, dlos-es at a radius outside of width/2 are removed. The resulting number of directions then approaches pi * npoints * npoints / 4, for high values ofnpoints
. There is no effect ofcrop_circular
for npoints=2, while for npoints=3 the corner points are removed (despite being inside the radius limit) and the number of directions becomes five.Author(s): Patrick Eriksson
- Parameters:
dlos (Matrix, optional) – A set of relative angles. See
dlos
, defaults toself.dlos
[OUT]dlos_weight_vector (Vector, optional) – A weight associated with each direction
dlos
. Seedlos_weight_vector
, defaults toself.dlos_weight_vector
[OUT]width (Numeric) – The full width, in each dimension, in degrees. [IN]
npoints (Index) – Number of points over the width, in each dimension (>1). [IN]
crop_circular (Index, optional) – Set to 1, to crop dlos-es to obtain a pseudo-circular pattern. Defaults to
0
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]