aces.holography.plot_summary

Module Contents

Functions

arg_init()

linmos(beams, beams_i[, cutoff])

beam_mosaic(beams)

key_axis(fig, dx, dy, wd, ht)

Returns a new axis whose position is given relative to the plotted area as recorded in fig.subplotpars.

get_target(sbid)

get_ms_size(fig, ax, size)

Returns a marker size corresponding to the current axis scale and requested size.

plot_beampos_errors(mapset, remove_mean, channel[, ...])

param mapset:

Mapset object holding beam position offsets

plot_valid_summary(mapset[, plot_file_name])

plot_footprint_sensitivity(mapset[, plot_file_name])

plot_footprint_leakage(mapset[, plot_file_name])

cli()

Plot three summary files from holography data:

main(sbid[, holo_dir])

Attributes

log

aces_cfg

fp_factory

explanation

aces.holography.plot_summary.log[source]
aces.holography.plot_summary.aces_cfg[source]
aces.holography.plot_summary.fp_factory[source]
aces.holography.plot_summary.explanation = ' Fill this'[source]
aces.holography.plot_summary.arg_init()[source]
aces.holography.plot_summary.linmos(beams, beams_i, cutoff=0.1)[source]
aces.holography.plot_summary.beam_mosaic(beams)[source]
aces.holography.plot_summary.key_axis(fig, dx, dy, wd, ht)[source]

Returns a new axis whose position is given relative to the plotted area as recorded in fig.subplotpars. This is used after a call to plt.subplots or equivalent. The returned axis is convenient for placing keys or explanations related to the plotted data. :param fig: Parent figure :param dx: Left position of new axis relative to that of plotted area :param dy: Bottom position of new axis relative to the TOP of plotted area :param wd: Width of new axis :param ht: Height of new axis :return: new axis

aces.holography.plot_summary.get_target(sbid)[source]
aces.holography.plot_summary.get_ms_size(fig, ax, size)[source]

Returns a marker size corresponding to the current axis scale and requested size. It is assumed that the axis aspect ratio is 1.0, and the scaling is computed using the x world and display coordinates. If the aspect ratio is not 1.0, the marker will be scaled correctly in the horizontal direction only. :param fig: Current matplotlib figure :param ax: Current matplotlib axis :param size: Required size of marker in “world” coordinates :return: Marker size

aces.holography.plot_summary.plot_beampos_errors(mapset, remove_mean, channel, tt=False, plot_file_name=None)[source]
Parameters:
  • mapset – Mapset object holding beam position offsets

  • remove_mean – If True, subtract vector mean of beam errors before plotting

  • channel

  • tt

  • plot_file_name – Output file name

aces.holography.plot_summary.plot_valid_summary(mapset, plot_file_name=None)[source]
aces.holography.plot_summary.plot_footprint_sensitivity(mapset, plot_file_name=None)[source]
aces.holography.plot_summary.plot_footprint_leakage(mapset, plot_file_name=None)[source]
aces.holography.plot_summary.cli()[source]

Plot three summary files from holography data: 1. valid_data from <sbid>_Holo_stokes.hdf5 2. beam position errors from <sbid>_Holo_beam_shifts.hdf5 3. Sensitivity of footprint over array-wide mean from <sbid>_Holo_mean_interp.hdf5 :return:

aces.holography.plot_summary.main(sbid, holo_dir='.')[source]