pyart.util.compute_antenna_diagram#

pyart.util.compute_antenna_diagram(npts_diagram=81, beam_factor=2.0, beam_width=1.0)#

Computes the antenna diagram. It is assumed a parabolic antenna diagram. The diagram is computed between -beam_factor*beam_width/2 and beam_factor*beam_width/2

Parameters:
  • npts_diagram (int) – The number of points that that the antenna diagram will have

  • beam_factor (float) – the factor by which the antenna beam width is multiplied

Returns:

  • ang_diag (array of floats) – The points where the antenna diagram is defined, with origin the center of the diagram (deg)

  • weights_diag (array of floats) – the weights at each point