pipeline.hifa.tasks.common.displays package

Submodules

pipeline.hifa.tasks.common.displays.phaseoffset module

class pipeline.hifa.tasks.common.displays.phaseoffset.PhaseOffsetPlot(context, ms, plothelper, scan_intent=None, scan_id=None, score_retriever=None)[source]

Bases: object

create_plot(spw, scans, antennas)[source]
get_plot_wrapper(spw, scans, antennas)[source]
plot(spw_ids=None, antenna_ids=None, antenna_names=None)[source]
class pipeline.hifa.tasks.common.displays.phaseoffset.PhaseOffsetPlotHelper(rootdir, prefix, caltable_map=None, plot_per_antenna=True)[source]

Bases: object

colour_map = {'AFTER': {'L': ('-', 'green', 0.6), 'R': ('-', 'red', 0.6), 'X': ('-', 'green', 0.6), 'XX': ('-', 'green', 0.6), 'Y': ('-', 'red', 0.6), 'YY': ('-', 'red', 0.6)}, 'BEFORE': {'L': ('-', 'orange', 0.6), 'R': ('--', 'sandybrown', 0.6), 'X': ('-', 'lightslategray', 0.6), 'XX': ('-', 'lightslategray', 0.6), 'Y': ('--', 'lightslategray', 0.6), 'YY': ('--', 'lightslategray', 0.6)}}

caltable_map should be a dictionary mapping the state to caltable

get_figfile(spw, antennas)[source]
get_symbol_and_colour(pol, state)[source]
group_antennas(antennas)[source]
label_antenna(fig, antennas)[source]

Module contents