Public Member Functions | |
def | __init__ |
def | close |
def | done |
def | next |
def | open |
def | plot |
def | savefig |
def | plotoptions |
def | markflags |
def | flagdata |
def | locatedata |
def | selectcal |
def | stopiter |
def | clearplot |
Public Attributes | |
this | |
Static Private Attributes | |
dictionary | __swig_setmethods__ |
tuple | __setattr__ |
dictionary | __swig_getmethods__ |
tuple | __getattr__ |
__repr__ | |
__swig_destroy__ | |
__del__ |
Proxy of C++ casac::calplot class
Definition at line 70 of file calplot.py.
def __casac__.calplot.calplot.__init__ | ( | self | ) |
__init__(self) -> calplot
Definition at line 77 of file calplot.py.
def __casac__.calplot.calplot.clearplot | ( | self, | |
subplot = 000 |
|||
) |
clearplot(self, subplot=000) -> bool Summary Clear the plotting window or a particular panel. Input Parameters: subplot Three digits number: first digit for nrows, second for ncols, last for pannel number. 000 --------------------------------------------------------------------------------
Definition at line 280 of file calplot.py.
def __casac__.calplot.calplot.close | ( | self | ) |
close(self) -> bool Summary *** n Close the current calibration table. n *** --------------------------------------------------------------------------------
Definition at line 84 of file calplot.py.
def __casac__.calplot.calplot.done | ( | self | ) |
done(self) -> bool Summary *** n Close the current calibration table. n *** --------------------------------------------------------------------------------
Definition at line 95 of file calplot.py.
def __casac__.calplot.calplot.flagdata | ( | self | ) |
flagdata(self) -> bool Summary *** n Flag Data for selected flag regions. Flags are not writtento disk unless diskwrite=true (or diskwrite=1) is set.n *** --------------------------------------------------------------------------------
Definition at line 223 of file calplot.py.
def __casac__.calplot.calplot.locatedata | ( | self | ) |
locatedata(self) -> bool Summary *** n Locate and print info about Data for selected flag regions.n *** --------------------------------------------------------------------------------
Definition at line 234 of file calplot.py.
Referenced by testwrapper.UnitTest.funcSetup(), and testbase.testbase.runtests().
def __casac__.calplot.calplot.markflags | ( | self, | |
args, | |||
kwargs | |||
) |
markflags(self, panel=0, region=initialize_vector(1, (double)0.0)) -> bool Summary *** n Mark a rectangular region to flag. Click left mouse button, drag and release to mark the region. Multiple regions can be marked. Hit ESC to clearregions (not currently enabled).n *** Input Parameters: panel whihc panel to flag on, in case there is more than 1 0 region [xmin,ymin,xmax,ymax] bounding box 0.0 --------------------------------------------------------------------------------
Definition at line 207 of file calplot.py.
def __casac__.calplot.calplot.next | ( | self | ) |
next(self) -> bool Summary *** n Continue plotting (iteration mode).n *** --------------------------------------------------------------------------------
Definition at line 106 of file calplot.py.
def __casac__.calplot.calplot.open | ( | self, | |
args, | |||
kwargs | |||
) |
open(self, caltable=string("")) -> bool Summary *** n Open a calibration table for use. n Supported calibration types: n G = gainn B = bandpassn M = baseline-based gainn MF= baseline-based bandpassn P = parallactic anglen T = tropospheren K = baseline-based fringe fittingn *** Input Parameters: caltable Calibration Table name --------------------------------------------------------------------------------
Definition at line 117 of file calplot.py.
def __casac__.calplot.calplot.plot | ( | self, | |
args, | |||
kwargs | |||
) |
plot(self, xaxis=string("time"), yaxis=string("time")) -> bool Summary *** n Plot calibration solutions using user inputs from plotoptions, setdata n Options: plottype - AMP, PHASE, REAL, IMAG, SNRn *** Input Parameters: xaxis Value to plot on the X axis ('time','chan','amp','phase','real','imag','snr') time yaxis Value to plot on the Y axis ('amp','phase','real','imag','snr') time --------------------------------------------------------------------------------
Definition at line 141 of file calplot.py.
Referenced by task_sdgrid.sdgrid_worker.finalize(), asap.asaplotbase.asaplotbase.hist(), asap.asapplotter.asapplotter.set_abcissa(), asap.asapplotter.asapplotter.set_colors(), asap.asapplotter.asapplotter.set_data(), asap.asapplotter.asapplotter.set_font(), asap.asapplotter.asapplotter.set_histogram(), asap.asapplotter.asapplotter.set_layout(), asap.asapplotter.asapplotter.set_legend(), asap.asapplotter.asapplotter.set_linestyles(), asap.asapplotter.asapplotter.set_margin(), asap.asapplotter.asapplotter.set_mask(), asap.asapplotter.asapplotter.set_mode(), asap.asapplotter.asapplotter.set_ordinate(), asap.asapplotter.asapplotter.set_range(), asap.asapplotter.asapplotter.set_selection(), and asap.asapplotter.asapplotter.set_title().
def __casac__.calplot.calplot.plotoptions | ( | self, | |
args, | |||
kwargs | |||
) |
plotoptions(self, subplot=111, overplot=False, iteration=string(""), plotrange=initialize_vector(1, (double)0.0), showflags=False, plotsymbol=string("."), plotcolor=string("green"), markersize=5.0, fontsize=10.0) -> bool Summary *** n Specify list of plot options. n Options: multiplot = true; will use the nxpanels,nypanels setting for displayn*** Input Parameters: subplot matplotlib style panel number, e.g 221 means 4 panels 2x2 and plotting on the first panel 111 overplot Overplot the next plot. false iteration Iterate plots on antenna, spw, field, and/or time plotrange integer for the plot symbol. 0.0 showflags Create multiple pages of plots (per antenna). false plotsymbol The plot symbol to use . plotcolor integer for the plot symbol. green markersize integer for the plot symbol. 5.0 fontsize integer for the plot symbol. 10.0 --------------------------------------------------------------------------------
Definition at line 181 of file calplot.py.
def __casac__.calplot.calplot.savefig | ( | self, | |
args, | |||
kwargs | |||
) |
savefig(self, filename=string(""), dpi=-1, orientation=string(""), papertype=string(""), facecolor=string(""), edgecolor=string("")) -> bool Summary Save the currently plotted image. Input Parameters: filename Name the plot image is to be saved to. dpi Number of dots per inch (resolution) to save the image at. -1 orientation Either landscape or portrait. Supported by the postscript format only. papertype Valid values are: letter, legal, exective, ledger, a0-a10 and b0-b10. This option is supported byt the postscript format only. facecolor Color of space between the plot and the edge of the square. Valid values are the same as those accepted by the plotcolor option. edgecolor Color of the outer edge. Valid values are the same as those accepted by the plotcolor option. --------------------------------------------------------------------------------
Definition at line 158 of file calplot.py.
def __casac__.calplot.calplot.selectcal | ( | self, | |
args, | |||
kwargs | |||
) |
selectcal(self, antenna=initialize_variant(""), field=initialize_variant(""), spw=initialize_variant(""), time=initialize_variant(""), poln=string("")) -> bool Summary *** n Select a subset of the data for plotting and specify calibration type n *** Input Parameters: antenna Select on antennas field Select on field spw Select on spectral window time Select on time poln Polarization to plot ('', 'RL', 'R', 'L', 'XY', 'X', 'Y', '/') --------------------------------------------------------------------------------
Definition at line 245 of file calplot.py.
def __casac__.calplot.calplot.stopiter | ( | self, | |
rmplotter = False |
|||
) |
stopiter(self, rmplotter=False) -> bool Summary *** n Stop plot iterations. n *** Input Parameters: rmplotter Indicates of the plot window should be removed (true)from the display or left (false) false --------------------------------------------------------------------------------
Definition at line 265 of file calplot.py.
__casac__.calplot.calplot.__del__ [static, private] |
Definition at line 83 of file calplot.py.
tuple __casac__.calplot.calplot.__getattr__ [static, private] |
Definition at line 75 of file calplot.py.
__casac__.calplot.calplot.__repr__ [static, private] |
Definition at line 76 of file calplot.py.
tuple __casac__.calplot.calplot.__setattr__ [static, private] |
Definition at line 73 of file calplot.py.
__casac__.calplot.calplot.__swig_destroy__ [static, private] |
Definition at line 82 of file calplot.py.
dictionary __casac__.calplot.calplot.__swig_getmethods__ [static, private] |
Definition at line 74 of file calplot.py.
dictionary __casac__.calplot.calplot.__swig_setmethods__ [static, private] |
Definition at line 72 of file calplot.py.
Definition at line 81 of file calplot.py.