aces.display.ant_beam_pol_summary

Module Contents

Functions

dual_half_circle(center, radius[, angle, ax, colors])

Add two half circles to the axes ax (or the current axes) with the

bsect(x, z)

Find position in array x of value z; assumes x sorted in increasing order.

get_footprint_pa_zero(name, pitch)

get_stats_strings(data_in)

make_summary_plot(obj, r_method, r_parameters[, ...])

Makes a graphical summary of some beam-specific quantity across the whole array. The routine needs to

aces.display.ant_beam_pol_summary.dual_half_circle(center, radius, angle=0, ax=None, colors=('w', 'k'), **kwargs)[source]

Add two half circles to the axes ax (or the current axes) with the specified facecolors colors rotated at angle (in degrees).

aces.display.ant_beam_pol_summary.bsect(x, z)[source]

Find position in array x of value z; assumes x sorted in increasing order. Uses the bisection method to find j such that x[j] <= z < x[j+1]

Parameters:
  • x – array with values in increasing order

  • z – value to locate

Returns:

j such that x[j] <= z < x[j+1]

aces.display.ant_beam_pol_summary.get_footprint_pa_zero(name, pitch)[source]
aces.display.ant_beam_pol_summary.get_stats_strings(data_in)[source]
aces.display.ant_beam_pol_summary.make_summary_plot(obj, r_method, r_parameters, frq_select=None, **kwargs)[source]

Makes a graphical summary of some beam-specific quantity across the whole array. The routine needs to use a single scalar quantity for each of two polarisations (XX, YY) for each beam, for each antenna. The input object must be of a subclass of BeamSet, and may hold a spectrum of quantities. This spectrum is reduced to a single scalar by the passed method ‘r_method’ with parameters ‘r_parameters’.

Parameters:
  • obj – Object derived from BeamSet

  • r_method – method to reduce a spectrum of values to a single scalarL r_method(spectrum, r_parameters)

  • r_parameters – parameters of r_method

  • frq_select – lower and upper limits of scalar values to be colour-coded

  • kwargs

Returns: