pipeline.h.tasks.common.displays package

Submodules

pipeline.h.tasks.common.displays.applycal module

class pipeline.h.tasks.common.displays.applycal.AmpVsFrequencyDetailChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.FieldSpwAntDetailChart

Create an amplitude vs frequency plot for each spw and antenna, overplotting by field.

class pipeline.h.tasks.common.displays.applycal.AmpVsFrequencyPerBasebandSummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.BasebandSummaryChart

Create an Amp vs Frequency plot for each baseband, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.AmpVsFrequencySummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Create an amplitude vs time plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.AmpVsTimeDetailChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.FieldSpwAntDetailChart

Create an amplitude vs time plot for each field, spw and antenna, overplotting by correlation.

class pipeline.h.tasks.common.displays.applycal.AmpVsTimeSummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Create an amplitude vs time plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.AmpVsUVBasebandSummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.BasebandSummaryChart

Create an amplitude vs UV distance plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.AmpVsUVDetailChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.FieldSpwAntDetailChart

Create an amplitude vs UV distance plot for each field, spw and antenna

class pipeline.h.tasks.common.displays.applycal.AmpVsUVSummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Create an amplitude vs UV distance plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.AntComposite(context, output_dir, calto, xaxis, yaxis, spw='', field='', intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each antenna in the applied calibration.

leaf_class = None
class pipeline.h.tasks.common.displays.applycal.BasebandComposite(context, output_dir, calto, xaxis, yaxis, ant='', field='', intent='', overplot_receivers=False, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each baseband in the applied calibration.

leaf_class = None
class pipeline.h.tasks.common.displays.applycal.BasebandSummaryChart(context, output_dir, calto, xaxis, yaxis, intent, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.PlotmsBasebandComposite

Base class for executing plotms per baseband

class pipeline.h.tasks.common.displays.applycal.CAS9154AmpVsTimeDetailChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwAntDetailChart

Create an amplitude vs time plot per spw and antenna, overplotting by correlation.

The fields in this plot are already delineated because this plot is against the time axis, hence we can overplot by correlation.

class pipeline.h.tasks.common.displays.applycal.CorrectedToModelRatioVsAntenna1SummaryChart(context, output_dir, calto, intent, ydatacolumn='corrected/model', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Create an amplitude vs time plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.CorrectedToModelRatioVsUVDistanceSummaryChart(context, output_dir, calto, intent, ydatacolumn='corrected/model', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Create an amplitude vs time plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.FieldComposite(context, output_dir, calto, xaxis, yaxis, spw='', ant='', intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each field in the applied calibration.

leaf_class = None
class pipeline.h.tasks.common.displays.applycal.FieldSpwAntComposite(context, output_dir, calto, xaxis, yaxis, intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each field, spw and antenna in the applied calibration

leaf_class = None
class pipeline.h.tasks.common.displays.applycal.FieldSpwAntDetailChart(context, output_dir, calto, xaxis, yaxis, intent, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.PlotmsFieldSpwAntComposite

Base class for executing plotms per calibrator field, spw and antenna

class pipeline.h.tasks.common.displays.applycal.FieldSpwComposite(context, output_dir, calto, xaxis, yaxis, intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each field and spw in the applied calibration

leaf_class = None
class pipeline.h.tasks.common.displays.applycal.PhaseVsFrequencyDetailChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.FieldSpwAntDetailChart

Create a phase vs frequency plot for each spw and antenna, overplotting by field.

class pipeline.h.tasks.common.displays.applycal.PhaseVsFrequencyPerBasebandSummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.BasebandSummaryChart

Create an Phase vs Frequency plot for each baseband, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.PhaseVsFrequencyPerSpwSummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Create an amplitude vs time plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.PhaseVsTimeDetailChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.FieldSpwAntDetailChart

Create an phase vs time plot for each field, spw and antenna, overplotting by correlation.

class pipeline.h.tasks.common.displays.applycal.PhaseVsTimeSummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Create an amplitude vs time plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.PhaseVsUVDetailChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwAntDetailChart

Create an amplitude vs UV distance plot for each spw and antenna

class pipeline.h.tasks.common.displays.applycal.PhaseVsUVSummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Create an amplitude vs UV distance plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.PlotmsAntComposite(context, output_dir, calto, xaxis, yaxis, spw='', field='', intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.AntComposite

leaf_class

alias of PlotmsLeaf

plot()[source]
class pipeline.h.tasks.common.displays.applycal.PlotmsBasebandComposite(context, output_dir, calto, xaxis, yaxis, ant='', field='', intent='', overplot_receivers=False, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.BasebandComposite

leaf_class

alias of PlotmsLeaf

plot()[source]
class pipeline.h.tasks.common.displays.applycal.PlotmsFieldComposite(context, output_dir, calto, xaxis, yaxis, spw='', ant='', intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.FieldComposite

leaf_class

alias of PlotmsLeaf

plot()[source]
class pipeline.h.tasks.common.displays.applycal.PlotmsFieldSpwAntComposite(context, output_dir, calto, xaxis, yaxis, intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.FieldSpwAntComposite

leaf_class

alias of PlotmsSpwAntComposite

class pipeline.h.tasks.common.displays.applycal.PlotmsFieldSpwComposite(context, output_dir, calto, xaxis, yaxis, intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.FieldSpwComposite

leaf_class

alias of PlotmsSpwComposite

class pipeline.h.tasks.common.displays.applycal.PlotmsLeaf(context, output_dir, calto, xaxis, yaxis, spw='', ant='', field='', scan='', intent='', uvrange='', correlation='', suffix='', **plot_args)[source]

Bases: object

Class to execute plotms and return a plot wrapper. It passes the spw and ant arguments through to plotms without further manipulation, creating exactly one plot.

plot()[source]
class pipeline.h.tasks.common.displays.applycal.PlotmsSpwAntComposite(context, output_dir, calto, xaxis, yaxis, intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwAntComposite

leaf_class

alias of PlotmsAntComposite

class pipeline.h.tasks.common.displays.applycal.PlotmsSpwComposite(context, output_dir, calto, xaxis, yaxis, ant='', field='', intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwComposite

leaf_class

alias of PlotmsLeaf

plot()[source]
class pipeline.h.tasks.common.displays.applycal.RealVsFrequencySummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Create a real vs time plot for each spw, overplotting by antenna.

class pipeline.h.tasks.common.displays.applycal.SpwAntComposite(context, output_dir, calto, xaxis, yaxis, intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each spw and antenna in the applied calibration

leaf_class = None
class pipeline.h.tasks.common.displays.applycal.SpwAntDetailChart(context, output_dir, calto, xaxis, yaxis, intent, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.PlotmsSpwAntComposite

Base class for executing plotms per calibrator field and spw

class pipeline.h.tasks.common.displays.applycal.SpwComposite(context, output_dir, calto, xaxis, yaxis, ant='', field='', intent='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each spw in the applied calibration.

leaf_class = None
class pipeline.h.tasks.common.displays.applycal.SpwSummaryChart(context, output_dir, calto, xaxis, yaxis, intent, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.PlotmsSpwComposite

Base class for executing plotms per calibrator field and spw

class pipeline.h.tasks.common.displays.applycal.VLAAmpVsFrequencyBasebandSummaryChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.applycal.BasebandSummaryChart

Create an amplitude vs time plot for each spw, overplotting by antenna.

pipeline.h.tasks.common.displays.bandpass module

class pipeline.h.tasks.common.displays.bandpass.BandpassAmpVsFreqDetailChart(context, result)[source]

Bases: pipeline.h.tasks.common.displays.bandpass.BandpassDetailChart

Create an amp vs freq plot for each spw/antenna combination.

class pipeline.h.tasks.common.displays.bandpass.BandpassAmpVsFreqSummaryChart(context, result)[source]

Bases: pipeline.h.tasks.common.displays.bandpass.BandpassSummaryChart

Create an amp vs freq plot for each antenna

class pipeline.h.tasks.common.displays.bandpass.BandpassAmpVsTimeDetailChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

class pipeline.h.tasks.common.displays.bandpass.BandpassAmpVsUVDetailChart(context, output_dir, calto, intent='', ydatacolumn='corrected', **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

class pipeline.h.tasks.common.displays.bandpass.BandpassDetailChart(context, result, xaxis, yaxis, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.PlotbandpassDetailBase

plot()[source]
class pipeline.h.tasks.common.displays.bandpass.BandpassPhaseVsFreqDetailChart(context, result)[source]

Bases: pipeline.h.tasks.common.displays.bandpass.BandpassDetailChart

Create an amp vs freq plot for each spw/antenna combination.

class pipeline.h.tasks.common.displays.bandpass.BandpassPhaseVsFreqSummaryChart(context, result)[source]

Bases: pipeline.h.tasks.common.displays.bandpass.BandpassSummaryChart

Create an phase vs freq plot for each antenna

class pipeline.h.tasks.common.displays.bandpass.BandpassSummaryChart(context, result, xaxis, yaxis, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.PlotbandpassDetailBase

plot()[source]

pipeline.h.tasks.common.displays.common module

class pipeline.h.tasks.common.displays.common.AntComposite(context, result, calapp, xaxis, yaxis, spw='', pol='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each antenna in the caltable.

leaf_class = None
class pipeline.h.tasks.common.displays.common.AntSpwComposite(context, result, calapp, xaxis, yaxis, pol='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each spw and antenna in the caltable.

leaf_class = None
class pipeline.h.tasks.common.displays.common.AntSpwPolComposite(context, result, calapp, xaxis, yaxis, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each antenna, spw and polarization in the caltable.

leaf_class = None
class pipeline.h.tasks.common.displays.common.CaltableWrapper(filename, data, time, antenna, spw, scan)[source]

Bases: object

filter(spw=None, antenna=None, scan=None)[source]
static from_caltable(filename)[source]
class pipeline.h.tasks.common.displays.common.CaltableWrapperFactory[source]

Bases: object

static create_gaincal_wrapper(path, gaincalamp=False)[source]
static create_param_wrapper(path, param)[source]
static from_caltable(filename, gaincalamp=False)[source]
class pipeline.h.tasks.common.displays.common.DataRatio(before, after)[source]

Bases: object

property after
property antennas
property before
property corr
property num_corr_axes
property scans
property spws
property x
property y
class pipeline.h.tasks.common.displays.common.LeafComposite(children)[source]

Bases: object

Base class to hold multiple PlotLeafs, thus generating multiple plots when plot() is called.

plot()[source]
class pipeline.h.tasks.common.displays.common.NullScoreFinder[source]

Bases: object

get_score(*args, **kwargs)[source]
class pipeline.h.tasks.common.displays.common.PhaseVsBaselineData(data, ms, corr_id, refant_id)[source]

Bases: object

property antenna
property baselines

Get the baselines for the antenna in this data selection in metres.

property distance_to_refant

Return the distance between this antenna and the reference antenna in metres.

property mean_baseline

Return the mean baseline for this antenna in metres.

property median_baseline

Return the median baseline for this antenna in metres.

property median_offset
property num_corr_axes
property offsets_from_median
property refant
property rms_offset
property scan
property spw
property unwrapped_data
property unwrapped_rms
class pipeline.h.tasks.common.displays.common.PlotBase[source]

Bases: object

get_symbol_and_colour(pol, state='BEFORE')[source]

Get the plot symbol and colour for this polarization and bandtype.

class pipeline.h.tasks.common.displays.common.PlotbandpassAntComposite(context, result, calapp, xaxis, yaxis, spw='', pol='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.AntComposite

leaf_class

alias of PlotbandpassLeaf

class pipeline.h.tasks.common.displays.common.PlotbandpassAntSpwComposite(context, result, calapp, xaxis, yaxis, pol='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.AntSpwComposite

leaf_class

alias of PlotbandpassSpwComposite

class pipeline.h.tasks.common.displays.common.PlotbandpassAntSpwPolComposite(context, result, calapp, xaxis, yaxis, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.AntSpwPolComposite

leaf_class

alias of PlotbandpassSpwPolComposite

class pipeline.h.tasks.common.displays.common.PlotbandpassDetailBase(context, result, xaxis, yaxis, **kwargs)[source]

Bases: object

create_task(spw_arg, antenna_arg, showimage=False)[source]
plot()[source]
class pipeline.h.tasks.common.displays.common.PlotbandpassLeaf(context, result, calapp, xaxis, yaxis, spw='', ant='', pol='', overlay='', showatm=True)[source]

Bases: object

Class to execute plotbandpass and return a plot wrapper. It passes the spw and ant arguments through to plotbandpass without further manipulation. More than one plot may be created though not necessarily returned, as plotbandpass may create many plots depending on the input arguments.

plot()[source]
class pipeline.h.tasks.common.displays.common.PlotbandpassPolComposite(context, result, calapp, xaxis, yaxis, ant='', spw='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.PolComposite

leaf_class

alias of PlotbandpassLeaf

class pipeline.h.tasks.common.displays.common.PlotbandpassSpwComposite(context, result, calapp, xaxis, yaxis, ant='', pol='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.SpwComposite

leaf_class

alias of PlotbandpassLeaf

class pipeline.h.tasks.common.displays.common.PlotbandpassSpwPolComposite(context, result, calapp, xaxis, yaxis, ant='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.SpwPolComposite

leaf_class

alias of PlotbandpassPolComposite

class pipeline.h.tasks.common.displays.common.PlotmsCalAntComposite(context, result, calapp, xaxis, yaxis, spw='', pol='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.AntComposite

leaf_class

alias of PlotmsCalLeaf

class pipeline.h.tasks.common.displays.common.PlotmsCalAntSpwComposite(context, result, calapp, xaxis, yaxis, pol='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.AntSpwComposite

leaf_class

alias of PlotmsCalSpwComposite

class pipeline.h.tasks.common.displays.common.PlotmsCalLeaf(context, result, calapp, xaxis, yaxis, spw='', ant='', pol='', plotrange=[], coloraxis='')[source]

Bases: object

Class to execute plotms and return a plot wrapper. It passes the spw and ant arguments through to plotms without further manipulation, creating exactly one plot.

plot()[source]
class pipeline.h.tasks.common.displays.common.PlotmsCalSpwAntComposite(context, result, calapp, xaxis, yaxis, pol='', ysamescale=False, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.SpwAntComposite

leaf_class

alias of PlotmsCalAntComposite

class pipeline.h.tasks.common.displays.common.PlotmsCalSpwComposite(context, result, calapp, xaxis, yaxis, ant='', pol='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.SpwComposite

leaf_class

alias of PlotmsCalLeaf

class pipeline.h.tasks.common.displays.common.PolComposite(context, result, calapp, xaxis, yaxis, ant='', spw='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each polarization in the caltable.

leaf_class = None
class pipeline.h.tasks.common.displays.common.SpwAntComposite(context, result, calapp, xaxis, yaxis, pol='', ysamescale=False, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each spw and antenna in the caltable.

leaf_class = None
class pipeline.h.tasks.common.displays.common.SpwComposite(context, result, calapp, xaxis, yaxis, ant='', pol='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each spw in the caltable.

leaf_class = None
class pipeline.h.tasks.common.displays.common.SpwPolComposite(context, result, calapp, xaxis, yaxis, ant='', **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.LeafComposite

Create a PlotLeaf for each spw and polarization in the caltable.

leaf_class = None
class pipeline.h.tasks.common.displays.common.XYData(delegate, x_axis, y_axis)[source]

Bases: object

property antenna
property corr
property data
property ratio
property scan
property spw
property x
property y

pipeline.h.tasks.common.displays.flagging module

class pipeline.h.tasks.common.displays.flagging.PlotAntsChart(context, result)[source]

Bases: object

plot()[source]

pipeline.h.tasks.common.displays.image module

class pipeline.h.tasks.common.displays.image.ImageDisplay[source]

Bases: object

plot(context, results, reportdir, prefix='', change='Flagging', dpi=None)[source]
static plottext(ax, xoff, yoff, text, maxchars, ny_subplot=1, mult=1)[source]

Utility method to plot text and put line breaks in to keep the text within a given limit.

Keyword arguments: ax – Matplotlib Axes object for current panel. xoff – world x coord where text is to start. yoff – world y coord where text is to start. text – Text to print. maxchars – Maximum number of characters before a newline is

inserted.

ny_subplot – Number of sub-plots along the y-axis of the page. mult – Factor by which the text fontsize is to be multiplied.

pipeline.h.tasks.common.displays.image.sanitize(text)[source]

pipeline.h.tasks.common.displays.sky module

Module to plot sky images.

class pipeline.h.tasks.common.displays.sky.SkyDisplay[source]

Bases: object

Class to plot sky images.

plot(context, result, reportdir, intent=None, collapseFunction='mean', vmin=None, vmax=None, mom8_fc_peak_snr=None, **imshow_args)[source]
static plottext(xoff, yoff, text, maxchars, ny_subplot=1, mult=1)[source]

Utility method to plot text and put line breaks in to keep the text within a given limit.

Keyword arguments: xoff – world x coord where text is to start. yoff – world y coord where text is to start. text – Text to print. maxchars – Maximum number of characters before a newline is

inserted.

ny_subplot – Number of sub-plots along the y-axis of the page. mult – Factor by which the text fontsize is to be multiplied.

pipeline.h.tasks.common.displays.sky.plotfilename(image, reportdir)[source]
pipeline.h.tasks.common.displays.sky.sanitize(text)[source]

pipeline.h.tasks.common.displays.slice module

class pipeline.h.tasks.common.displays.slice.SliceDisplay[source]

Bases: object

plot(context, results, reportdir, description_to_plot=None, overplot_spectrum=None, plotbad=True, plot_only_flagged=False, prefix='')[source]
static plottext(xoff, yoff, text, maxchars, ny_subplot=1, mult=1.0)[source]

Utility method to plot text and put line breaks in to keep the text within a given limit.

Keyword arguments: xoff – world x coord where text is to start. yoff – world y coord where text is to start. text – Text to print. maxchars – Maximum number of characters before a newline is

inserted.

ny_subplot – Number of sub-plots along the y-axis of the page. mult – Factor by which the text fontsize is to be multiplied.

pipeline.h.tasks.common.displays.slice.sanitize(text)[source]

pipeline.h.tasks.common.displays.tsys module

class pipeline.h.tasks.common.displays.tsys.TsysPerAntennaChart(context, result, **kwargs)[source]

Bases: pipeline.h.tasks.common.displays.common.PlotbandpassDetailBase

plot()[source]
class pipeline.h.tasks.common.displays.tsys.TsysSummaryChart(context, result, calapp, xaxis='freq', yaxis='tsys')[source]

Bases: object

plot()[source]

Module contents