00001
00002
00003
00004
00005
00006
00007
00008
00009 from sys import version_info
00010 if version_info >= (2,6,0):
00011 def swig_import_helper():
00012 from os.path import dirname
00013 import imp
00014 fp = None
00015 try:
00016 fp, pathname, description = imp.find_module('_plotms', [dirname(__file__)])
00017 except ImportError:
00018 import _plotms
00019 return _plotms
00020 if fp is not None:
00021 try:
00022 _mod = imp.load_module('_plotms', fp, pathname, description)
00023 finally:
00024 fp.close()
00025 return _mod
00026 _plotms = swig_import_helper()
00027 del swig_import_helper
00028 else:
00029 import _plotms
00030 del version_info
00031 try:
00032 _swig_property = property
00033 except NameError:
00034 pass
00035 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
00036 if (name == "thisown"): return self.this.own(value)
00037 if (name == "this"):
00038 if type(value).__name__ == 'SwigPyObject':
00039 self.__dict__[name] = value
00040 return
00041 method = class_type.__swig_setmethods__.get(name,None)
00042 if method: return method(self,value)
00043 if (not static):
00044 self.__dict__[name] = value
00045 else:
00046 raise AttributeError("You cannot add attributes to %s" % self)
00047
00048 def _swig_setattr(self,class_type,name,value):
00049 return _swig_setattr_nondynamic(self,class_type,name,value,0)
00050
00051 def _swig_getattr(self,class_type,name):
00052 if (name == "thisown"): return self.this.own()
00053 method = class_type.__swig_getmethods__.get(name,None)
00054 if method: return method(self)
00055 raise AttributeError(name)
00056
00057 def _swig_repr(self):
00058 try: strthis = "proxy of " + self.this.__repr__()
00059 except: strthis = ""
00060 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
00061
00062 try:
00063 _object = object
00064 _newclass = 1
00065 except AttributeError:
00066 class _object : pass
00067 _newclass = 0
00068
00069
00070 class plotms(_object):
00071 """Proxy of C++ casac::plotms class"""
00072 __swig_setmethods__ = {}
00073 __setattr__ = lambda self, name, value: _swig_setattr(self, plotms, name, value)
00074 __swig_getmethods__ = {}
00075 __getattr__ = lambda self, name: _swig_getattr(self, plotms, name)
00076 __repr__ = _swig_repr
00077 def __init__(self):
00078 """__init__(self) -> plotms"""
00079 this = _plotms.new_plotms()
00080 try: self.this.append(this)
00081 except: self.this = this
00082 __swig_destroy__ = _plotms.delete_plotms
00083 __del__ = lambda self : None;
00084 def setLogFilename(self, *args, **kwargs):
00085 """
00086 setLogFilename(self, logFilename=string("casapy.log"))
00087
00088 Summary
00089 Sets the log filename to be used by plotms.
00090
00091 Input Parameters:
00092 logFilename log filename for plotms to use casapy.log
00093
00094 --------------------------------------------------------------------------------
00095
00096 """
00097 return _plotms.plotms_setLogFilename(self, *args, **kwargs)
00098
00099 def getLogFilename(self):
00100 """
00101 getLogFilename(self) -> string
00102
00103 Summary
00104 Gets the log filename used by plotms.
00105 --------------------------------------------------------------------------------
00106
00107 """
00108 return _plotms.plotms_getLogFilename(self)
00109
00110 def setLogFilter(self, *args, **kwargs):
00111 """
00112 setLogFilter(self, priority)
00113
00114 Summary
00115 Sets the log's priority filter.
00116
00117 Input Parameters:
00118 priority string representation of minimum priority
00119
00120 --------------------------------------------------------------------------------
00121
00122 """
00123 return _plotms.plotms_setLogFilter(self, *args, **kwargs)
00124
00125 def getLogFilter(self):
00126 """
00127 getLogFilter(self) -> string
00128
00129 Summary
00130 Gets the log's priority filter.
00131 --------------------------------------------------------------------------------
00132
00133 """
00134 return _plotms.plotms_getLogFilter(self)
00135
00136 def setClearSelectionOnAxesChange(self, *args, **kwargs):
00137 """
00138 setClearSelectionOnAxesChange(self, clearSelection)
00139
00140 Summary
00141 Sets whether any selections are cleared on an axes change or not.
00142
00143 Input Parameters:
00144 clearSelection clear selection flag
00145
00146 --------------------------------------------------------------------------------
00147
00148 """
00149 return _plotms.plotms_setClearSelectionOnAxesChange(self, *args, **kwargs)
00150
00151 def getClearSelectionOnAxesChange(self):
00152 """
00153 getClearSelectionOnAxesChange(self) -> bool
00154
00155 Summary
00156 Gets whether any selections are cleared on an axes change or not.
00157 --------------------------------------------------------------------------------
00158
00159 """
00160 return _plotms.plotms_getClearSelectionOnAxesChange(self)
00161
00162 def setCachedImageSize(self, *args, **kwargs):
00163 """
00164 setCachedImageSize(self, width, height)
00165
00166 Summary
00167 Sets the size for the cached images.
00168
00169 Input Parameters:
00170 width width of the cached images
00171 height height of the cached images
00172
00173 --------------------------------------------------------------------------------
00174
00175 """
00176 return _plotms.plotms_setCachedImageSize(self, *args, **kwargs)
00177
00178 def setCachedImageSizeToScreenResolution(self):
00179 """
00180 setCachedImageSizeToScreenResolution(self)
00181
00182 Summary
00183 Sets the size for the cached images to the current screen resolution.
00184 --------------------------------------------------------------------------------
00185
00186 """
00187 return _plotms.plotms_setCachedImageSizeToScreenResolution(self)
00188
00189 def getCachedImageWidth(self):
00190 """
00191 getCachedImageWidth(self) -> int
00192
00193 Summary
00194 Gets the width of the cached images.
00195 --------------------------------------------------------------------------------
00196
00197 """
00198 return _plotms.plotms_getCachedImageWidth(self)
00199
00200 def getCachedImageHeight(self):
00201 """
00202 getCachedImageHeight(self) -> int
00203
00204 Summary
00205 Gets the height of the cached images.
00206 --------------------------------------------------------------------------------
00207
00208 """
00209 return _plotms.plotms_getCachedImageHeight(self)
00210
00211 def setPlotMSFilename(self, *args, **kwargs):
00212 """
00213 setPlotMSFilename(self, msFilename, updateImmediately=True, plotIndex=0)
00214
00215 Summary
00216 Sets the MS filename to the given.
00217
00218 Input Parameters:
00219 msFilename MS filename to be plotted
00220 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00221 plotIndex the index of the plot to apply this change 0
00222
00223 --------------------------------------------------------------------------------
00224
00225 """
00226 return _plotms.plotms_setPlotMSFilename(self, *args, **kwargs)
00227
00228 def getPlotMSFilename(self, plotIndex=0):
00229 """
00230 getPlotMSFilename(self, plotIndex=0) -> string
00231
00232 Summary
00233 Gets the MS filename.
00234
00235 Input Parameters:
00236 plotIndex the index of the plot to get the value for 0
00237
00238 --------------------------------------------------------------------------------
00239
00240 """
00241 return _plotms.plotms_getPlotMSFilename(self, plotIndex)
00242
00243 def setPlotMSSelection(self, *args, **kwargs):
00244 """
00245 setPlotMSSelection(self, field=string(""), spw=string(""), timerange=string(""), uvrange=string(""), antenna=string(""),
00246 scan=string(""), corr=string(""), array=string(""), observation=string(""),
00247 msselect=string(""), updateImmediately=True, plotIndex=0)
00248
00249 Summary
00250 Sets the MS selection parameters.
00251
00252 Input Parameters:
00253 field MS selection parameter for field
00254 spw MS selection parameter for spw
00255 timerange MS selection parameter for timerange
00256 uvrange MS selection parameter for uvrange
00257 antenna MS selection parameter for antenna
00258 scan MS selection parameter for scan
00259 corr MS selection parameter for corr
00260 array MS selection parameter for array
00261 observation MS selection parameter for obsID
00262 msselect MS selection parameter for msselect
00263 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00264 plotIndex the index of the plot to apply this change 0
00265
00266 --------------------------------------------------------------------------------
00267
00268 """
00269 return _plotms.plotms_setPlotMSSelection(self, *args, **kwargs)
00270
00271 def setPlotMSSelectionRec(self, *args, **kwargs):
00272 """
00273 setPlotMSSelectionRec(self, selection, updateImmediately=True, plotIndex=0)
00274
00275 Summary
00276 Sets the MS selection parameters.
00277
00278 Input Parameters:
00279 selection MS selection parameters, in record form
00280 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00281 plotIndex the index of the plot to apply this change 0
00282
00283 --------------------------------------------------------------------------------
00284
00285 """
00286 return _plotms.plotms_setPlotMSSelectionRec(self, *args, **kwargs)
00287
00288 def getPlotMSSelection(self, plotIndex=0):
00289 """
00290 getPlotMSSelection(self, plotIndex=0) -> record *
00291
00292 Summary
00293 Gets the MS selection parameters.
00294
00295 Input Parameters:
00296 plotIndex the index of the plot to get the value for 0
00297
00298 --------------------------------------------------------------------------------
00299
00300 """
00301 return _plotms.plotms_getPlotMSSelection(self, plotIndex)
00302
00303 def setPlotMSAveraging(self, *args, **kwargs):
00304 """
00305 setPlotMSAveraging(self, channel=string(""), time=string(""), scan=False, field=False, baseline=False, antenna=False,
00306 spw=False, scalar=False, updateImmediately=True, plotIndex=0)
00307
00308 Summary
00309 Sets the MS averaging parameters.
00310
00311 Input Parameters:
00312 channel channel averaging; either blank or a channel value
00313 time time averaging; either blank or a value in seconds
00314 scan scan averaging (only valid if time averaging is on) false
00315 field field averaging (only valid if time averaging is on) false
00316 baseline baseline averaging, mutually exclusive with antenna false
00317 antenna antenna averaging, mutually exclusive with baseline false
00318 spw spw averaging false
00319 scalar Do scalar averaging instead of vector averaging false
00320 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00321 plotIndex the index of the plot to apply this change 0
00322
00323 --------------------------------------------------------------------------------
00324
00325 """
00326 return _plotms.plotms_setPlotMSAveraging(self, *args, **kwargs)
00327
00328 def setPlotMSAveragingRec(self, *args, **kwargs):
00329 """
00330 setPlotMSAveragingRec(self, averaging, updateImmediately=True, plotIndex=0)
00331
00332 Summary
00333 Sets the MS averaging parameters.
00334
00335 Input Parameters:
00336 averaging MS averaging parameters, in record form
00337 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00338 plotIndex the index of the plot to apply this change 0
00339
00340 --------------------------------------------------------------------------------
00341
00342 """
00343 return _plotms.plotms_setPlotMSAveragingRec(self, *args, **kwargs)
00344
00345 def getPlotMSAveraging(self, plotIndex=0):
00346 """
00347 getPlotMSAveraging(self, plotIndex=0) -> record *
00348
00349 Summary
00350 Gets the MS averaging parameters.
00351
00352 Input Parameters:
00353 plotIndex the index of the plot to get the value for 0
00354
00355 --------------------------------------------------------------------------------
00356
00357 """
00358 return _plotms.plotms_getPlotMSAveraging(self, plotIndex)
00359
00360 def setPlotMSTransformations(self, *args, **kwargs):
00361 """
00362 setPlotMSTransformations(self, freqframe=string(""), veldef=string(""), restfreq=initialize_variant(""), xshift=0.0,
00363 yshift=0.0, updateImmediately=True, plotIndex=0)
00364
00365 Summary
00366 Sets the MS transformation parameters.
00367
00368 Input Parameters:
00369 freqframe Frequency frame in which to render frequencies and velocities
00370 veldef Velocity definition in which to render velocities
00371 restfreq Rest frequency (w/ units) to use when calculating velocities
00372 xshift Phase center shift in horizontal direction (arcsec) 0.0
00373 yshift Phase center shift in vertical direction (arcsec) 0.0
00374 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00375 plotIndex the index of the plot to apply this change 0
00376
00377 --------------------------------------------------------------------------------
00378
00379 """
00380 return _plotms.plotms_setPlotMSTransformations(self, *args, **kwargs)
00381
00382 def setPlotMSIterate(self, *args, **kwargs):
00383 """
00384 setPlotMSIterate(self, iteraxis=string(""), xselfscale=False, yselfscale=False, updateImmediately=True,
00385 plotIndex=0)
00386
00387 Summary
00388 Sets the iteration parameters.
00389
00390 Input Parameters:
00391 iteraxis Axis over which to iterate (or none)
00392 xselfscale Selfscale X axis false
00393 yselfscale Selfscale Y axis false
00394 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00395 plotIndex the index of the plot to apply this change 0
00396
00397 --------------------------------------------------------------------------------
00398
00399 """
00400 return _plotms.plotms_setPlotMSIterate(self, *args, **kwargs)
00401
00402 def setPlotMSTransformationsRec(self, *args, **kwargs):
00403 """
00404 setPlotMSTransformationsRec(self, transformations, updateImmediately=True, plotIndex=0)
00405
00406 Summary
00407 Sets the MS transformations parameters.
00408
00409 Input Parameters:
00410 transformations MS averaging parameters, in record form
00411 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00412 plotIndex the index of the plot to apply this change 0
00413
00414 --------------------------------------------------------------------------------
00415
00416 """
00417 return _plotms.plotms_setPlotMSTransformationsRec(self, *args, **kwargs)
00418
00419 def getPlotMSTransformations(self, plotIndex=0):
00420 """
00421 getPlotMSTransformations(self, plotIndex=0) -> record *
00422
00423 Summary
00424 Gets the MS transformations parameters.
00425
00426 Input Parameters:
00427 plotIndex the index of the plot to get the value for 0
00428
00429 --------------------------------------------------------------------------------
00430
00431 """
00432 return _plotms.plotms_getPlotMSTransformations(self, plotIndex)
00433
00434 def setTitle(self, *args, **kwargs):
00435 """
00436 setTitle(self, text=string(""), updateImmediately=True, plotIndex=0)
00437
00438 Summary
00439 Sets the title for a plot
00440
00441 Input Parameters:
00442 text Title (blank for automatic, resembling [yaxis] vs. [x])
00443 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00444 plotIndex the index of the plot to apply this change 0
00445
00446 --------------------------------------------------------------------------------
00447
00448 """
00449 return _plotms.plotms_setTitle(self, *args, **kwargs)
00450
00451 def setXAxisLabel(self, *args, **kwargs):
00452 """
00453 setXAxisLabel(self, text=string(""), updateImmediately=True, plotIndex=0)
00454
00455 Summary
00456 Sets the text to label the horizontal axis
00457
00458 Input Parameters:
00459 text The title (blank for automatic)
00460 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00461 plotIndex the index of the plot to apply this change 0
00462
00463 --------------------------------------------------------------------------------
00464
00465 """
00466 return _plotms.plotms_setXAxisLabel(self, *args, **kwargs)
00467
00468 def setYAxisLabel(self, *args, **kwargs):
00469 """
00470 setYAxisLabel(self, text=string(""), updateImmediately=True, plotIndex=0)
00471
00472 Summary
00473 Sets the text to label the vertical axis
00474
00475 Input Parameters:
00476 text The text (blank for automatic)
00477 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00478 plotIndex the index of the plot to apply this change 0
00479
00480 --------------------------------------------------------------------------------
00481
00482 """
00483 return _plotms.plotms_setYAxisLabel(self, *args, **kwargs)
00484
00485 def getTitle(self, plotIndex=0):
00486 """
00487 getTitle(self, plotIndex=0) -> string
00488
00489 Summary
00490 Gets the title for the plot
00491
00492 Input Parameters:
00493 plotIndex the index of the plot to get the value for 0
00494
00495 --------------------------------------------------------------------------------
00496
00497 """
00498 return _plotms.plotms_getTitle(self, plotIndex)
00499
00500 def getXAxisLabel(self, plotIndex=0):
00501 """
00502 getXAxisLabel(self, plotIndex=0) -> string
00503
00504 Summary
00505 Gets the text for the horizontal axis
00506
00507 Input Parameters:
00508 plotIndex the index of the plot to get the value for 0
00509
00510 --------------------------------------------------------------------------------
00511
00512 """
00513 return _plotms.plotms_getXAxisLabel(self, plotIndex)
00514
00515 def getYAxisLabel(self, plotIndex=0):
00516 """
00517 getYAxisLabel(self, plotIndex=0) -> string
00518
00519 Summary
00520 Gets the text for the vertical axis
00521
00522 Input Parameters:
00523 plotIndex the index of the plot to get the value for 0
00524
00525 --------------------------------------------------------------------------------
00526
00527 """
00528 return _plotms.plotms_getYAxisLabel(self, plotIndex)
00529
00530 def setPlotXAxis(self, *args, **kwargs):
00531 """
00532 setPlotXAxis(self, xAxis, xDataColumn=string(""), updateImmediately=True, plotIndex=0)
00533
00534 Summary
00535 Sets the plot x axis to the given.
00536
00537 Input Parameters:
00538 xAxis name of the axis choice for x (blank to keep current)
00539 xDataColumn name of the data column to use for the x axis, if applicable (blank to keep current)
00540 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00541 plotIndex the index of the plot to apply this change 0
00542
00543 --------------------------------------------------------------------------------
00544
00545 """
00546 return _plotms.plotms_setPlotXAxis(self, *args, **kwargs)
00547
00548 def setPlotYAxis(self, *args, **kwargs):
00549 """
00550 setPlotYAxis(self, yAxis, yDataColumn=string(""), updateImmediately=True, plotIndex=0)
00551
00552 Summary
00553 Sets the plot y axis to the given.
00554
00555 Input Parameters:
00556 yAxis name of the axis choice for y (blank to keep current)
00557 yDataColumn name of the data column to use for the y axis, if applicable (blank to keep current)
00558 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00559 plotIndex the index of the plot to apply this change 0
00560
00561 --------------------------------------------------------------------------------
00562
00563 """
00564 return _plotms.plotms_setPlotYAxis(self, *args, **kwargs)
00565
00566 def setPlotAxes(self, *args, **kwargs):
00567 """
00568 setPlotAxes(self, xAxis=string(""), yAxis=string(""), xDataColumn=string(""), yDataColumn=string(""),
00569 updateImmediately=True, plotIndex=0)
00570
00571 Summary
00572 Sets the plot axes to the given.
00573
00574 Input Parameters:
00575 xAxis name of the axis choice for x (blank to keep current)
00576 yAxis name of the axis choice for y (blank to keep current)
00577 xDataColumn name of the data column to use for the x axis, if applicable (blank to keep current)
00578 yDataColumn name of the data column to use for the y axis, if applicable (blank to keep current)
00579 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00580 plotIndex the index of the plot to apply this change 0
00581
00582 --------------------------------------------------------------------------------
00583
00584 """
00585 return _plotms.plotms_setPlotAxes(self, *args, **kwargs)
00586
00587 def getPlotXAxis(self, plotIndex=0):
00588 """
00589 getPlotXAxis(self, plotIndex=0) -> string
00590
00591 Summary
00592 Gets the x plot axis.
00593
00594 Input Parameters:
00595 plotIndex the index of the plot to get the value for 0
00596
00597 --------------------------------------------------------------------------------
00598
00599 """
00600 return _plotms.plotms_getPlotXAxis(self, plotIndex)
00601
00602 def getPlotXDataColumn(self, plotIndex=0):
00603 """
00604 getPlotXDataColumn(self, plotIndex=0) -> string
00605
00606 Summary
00607 Gets the data column for the x plot axis.
00608
00609 Input Parameters:
00610 plotIndex the index of the plot to get the value for 0
00611
00612 --------------------------------------------------------------------------------
00613
00614 """
00615 return _plotms.plotms_getPlotXDataColumn(self, plotIndex)
00616
00617 def getPlotYAxis(self, plotIndex=0):
00618 """
00619 getPlotYAxis(self, plotIndex=0) -> string
00620
00621 Summary
00622 Gets the y plot axis.
00623
00624 Input Parameters:
00625 plotIndex the index of the plot to get the value for 0
00626
00627 --------------------------------------------------------------------------------
00628
00629 """
00630 return _plotms.plotms_getPlotYAxis(self, plotIndex)
00631
00632 def getPlotYDataColumn(self, plotIndex=0):
00633 """
00634 getPlotYDataColumn(self, plotIndex=0) -> string
00635
00636 Summary
00637 Gets the data column for the y plot axis.
00638
00639 Input Parameters:
00640 plotIndex the index of the plot to get the value for 0
00641
00642 --------------------------------------------------------------------------------
00643
00644 """
00645 return _plotms.plotms_getPlotYDataColumn(self, plotIndex)
00646
00647 def getPlotParams(self, plotIndex=0):
00648 """
00649 getPlotParams(self, plotIndex=0) -> record *
00650
00651 Summary
00652 Returns the plot params.
00653
00654 Input Parameters:
00655 plotIndex the index of the plot to get the params for 0
00656
00657 --------------------------------------------------------------------------------
00658
00659 """
00660 return _plotms.plotms_getPlotParams(self, plotIndex)
00661
00662 def setXRange(self, xautorange=True, xmin=0, xmax=0, updateImmediately=True, plotIndex=0):
00663 """
00664 setXRange(self, xautorange=True, xmin=0, xmax=0, updateImmediately=True, plotIndex=0)
00665
00666 Summary
00667 Set X axis for auto or manual, and the min/max values of x
00668
00669 Input Parameters:
00670 xautorange Automatically determine X axrangeis range? true
00671 xmin Minimum value of X 0
00672 xmax Maximum value of X 0
00673 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00674 plotIndex the index of the plot to apply this change 0
00675
00676 --------------------------------------------------------------------------------
00677
00678 """
00679 return _plotms.plotms_setXRange(self, xautorange, xmin, xmax, updateImmediately, plotIndex)
00680
00681 def setYRange(self, yautorange=True, ymin=0, ymax=0, updateImmediately=True, plotIndex=0):
00682 """
00683 setYRange(self, yautorange=True, ymin=0, ymax=0, updateImmediately=True, plotIndex=0)
00684
00685 Summary
00686 Set Y axis for auto or manual, and the min/max values of y
00687
00688 Input Parameters:
00689 yautorange Automatically determine X axis range? true
00690 ymin Minimum value of Y 0
00691 ymax Maximum value of Y 0
00692 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00693 plotIndex the index of the plot to apply this change 0
00694
00695 --------------------------------------------------------------------------------
00696
00697 """
00698 return _plotms.plotms_setYRange(self, yautorange, ymin, ymax, updateImmediately, plotIndex)
00699
00700 def setColorizeFlag(self, *args, **kwargs):
00701 """
00702 setColorizeFlag(self, colorize, updateImmediately=True, plotIndex=0)
00703
00704 Summary
00705 Sets the plot x axis to the given.
00706
00707 Input Parameters:
00708 colorize name of the axis choice for x (blank to keep current)
00709 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00710 plotIndex the index of the plot to apply this change 0
00711
00712 --------------------------------------------------------------------------------
00713
00714 """
00715 return _plotms.plotms_setColorizeFlag(self, *args, **kwargs)
00716
00717 def getColorizeFlag(self, plotIndex=0):
00718 """
00719 getColorizeFlag(self, plotIndex=0) -> bool
00720
00721 Summary
00722 Get colorization flag
00723
00724 Input Parameters:
00725 plotIndex the index of the plot to get colorization for 0
00726
00727 --------------------------------------------------------------------------------
00728
00729 """
00730 return _plotms.plotms_getColorizeFlag(self, plotIndex)
00731
00732 def setColorAxis(self, *args, **kwargs):
00733 """
00734 setColorAxis(self, coloraxis, updateImmediately=True, plotIndex=0)
00735
00736 Summary
00737 Sets the plot x axis to the given.
00738
00739 Input Parameters:
00740 coloraxis name of the axis choice for x (blank to keep current)
00741 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00742 plotIndex the index of the plot to apply this change 0
00743
00744 --------------------------------------------------------------------------------
00745
00746 """
00747 return _plotms.plotms_setColorAxis(self, *args, **kwargs)
00748
00749 def setSymbol(self, *args, **kwargs):
00750 """
00751 setSymbol(self, shape=string("autoscaling"), size=2, color=string("0000ff"), fill=string("fill"),
00752 outline=False, updateImmediately=True, plotIndex=0)
00753
00754 Summary
00755 Sets the unflagged plot symbol
00756
00757 Input Parameters:
00758 shape symbol shape (autoscaling, circle, square, diamond, pixel, nosymbol) autoscaling
00759 size size of the symbol in pts 2
00760 color color of the symbol, in hex (ex. '0000ff') 0000ff
00761 fill point fill type (fill, mesh1, mesh2, mesh3, no fill) fill
00762 outline sets outline on plotted points False
00763 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00764 plotIndex the index of the plot to apply this change 0
00765
00766 --------------------------------------------------------------------------------
00767
00768 """
00769 return _plotms.plotms_setSymbol(self, *args, **kwargs)
00770
00771 def setFlaggedSymbol(self, *args, **kwargs):
00772 """
00773 setFlaggedSymbol(self, shape=string("nosymbol"), size=2, color=string("ff0000"), fill=string("fill"), outline=False,
00774 updateImmediately=True, plotIndex=0)
00775
00776 Summary
00777 Sets the flagged plot symbol
00778
00779 Input Parameters:
00780 shape flagged symbol shape (autoscaling, circle, square, diamond, pixel, nosymbol) nosymbol
00781 size size of the flaggedsymbol in pts 2
00782 color color of the flagged symbol, in hex (ex. 'ff0000') ff0000
00783 fill flagged point fill type (fill, mesh1, mesh2, mesh3, no fill) fill
00784 outline sets outline on plotted flagged points False
00785 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00786 plotIndex the index of the plot to apply this change 0
00787
00788 --------------------------------------------------------------------------------
00789
00790 """
00791 return _plotms.plotms_setFlaggedSymbol(self, *args, **kwargs)
00792
00793 def getColorAxis(self, plotIndex=0):
00794 """
00795 getColorAxis(self, plotIndex=0) -> string
00796
00797 Summary
00798 What data controls the colorizing?
00799
00800 Input Parameters:
00801 plotIndex the index of the plot to get the value for 0
00802
00803 --------------------------------------------------------------------------------
00804
00805 """
00806 return _plotms.plotms_getColorAxis(self, plotIndex)
00807
00808 def setFlagExtension(self, *args, **kwargs):
00809 """
00810 setFlagExtension(self, extend=False, correlation=string(""), channel=False, spw=False, antenna=string(""),
00811 time=False, scans=False, field=False, alternateSelection=initialize_record(""))
00812
00813 Summary
00814 Sets the flag extension parameters.
00815
00816 Input Parameters:
00817 extend whether to extend flags or not false
00818 correlation extend on correlation; one of: '', 'all', 'poln-dep'
00819 channel extend on channel false
00820 spw extend on spw false
00821 antenna extend on antenna; one of: '', 'all', antenna-based value
00822 time extend on time false
00823 scans extend on scans (only valid if time is true) false
00824 field extend on field (only valid if time is true) false
00825 alternateSelection alternate MS selection, in record form, or empty record for none
00826
00827 --------------------------------------------------------------------------------
00828
00829 """
00830 return _plotms.plotms_setFlagExtension(self, *args, **kwargs)
00831
00832 def setFlagExtensionRec(self, *args, **kwargs):
00833 """
00834 setFlagExtensionRec(self, flagExtension)
00835
00836 Summary
00837 Sets the flag extension parameters.
00838
00839 Input Parameters:
00840 flagExtension flag extension parameters, in record form
00841
00842 --------------------------------------------------------------------------------
00843
00844 """
00845 return _plotms.plotms_setFlagExtensionRec(self, *args, **kwargs)
00846
00847 def getFlagExtension(self):
00848 """
00849 getFlagExtension(self) -> record *
00850
00851 Summary
00852 Gets the flag extension parameters.
00853 --------------------------------------------------------------------------------
00854
00855 """
00856 return _plotms.plotms_getFlagExtension(self)
00857
00858 def locateInfo(self):
00859 """
00860 locateInfo(self) -> record *
00861
00862 Summary
00863 Locates points in a specified region.
00864 --------------------------------------------------------------------------------
00865
00866 """
00867 return _plotms.plotms_locateInfo(self)
00868
00869 def getGridMajorShown(self, plotIndex=0):
00870 """
00871 getGridMajorShown(self, plotIndex=0) -> bool
00872
00873 Summary
00874 Gets state of visibililty of major grid lines
00875
00876 Input Parameters:
00877 plotIndex the index of the plot to get the value for 0
00878
00879 --------------------------------------------------------------------------------
00880
00881 """
00882 return _plotms.plotms_getGridMajorShown(self, plotIndex)
00883
00884 def getGridMinorShown(self, plotIndex=0):
00885 """
00886 getGridMinorShown(self, plotIndex=0) -> bool
00887
00888 Summary
00889 Gets state of visibililty of minor grid lines
00890
00891 Input Parameters:
00892 plotIndex the index of the plot to get the value for 0
00893
00894 --------------------------------------------------------------------------------
00895
00896 """
00897 return _plotms.plotms_getGridMinorShown(self, plotIndex)
00898
00899 def getGridMajorWidth(self, plotIndex=1):
00900 """
00901 getGridMajorWidth(self, plotIndex=1) -> int
00902
00903 Summary
00904 Gets width of major grid lines
00905
00906 Input Parameters:
00907 plotIndex the index of the plot to get the value for 1
00908
00909 --------------------------------------------------------------------------------
00910
00911 """
00912 return _plotms.plotms_getGridMajorWidth(self, plotIndex)
00913
00914 def getGridMinorWidth(self, plotIndex=1):
00915 """
00916 getGridMinorWidth(self, plotIndex=1) -> int
00917
00918 Summary
00919 Gets width of minor grid lines
00920
00921 Input Parameters:
00922 plotIndex the index of the plot to get the value for 1
00923
00924 --------------------------------------------------------------------------------
00925
00926 """
00927 return _plotms.plotms_getGridMinorWidth(self, plotIndex)
00928
00929 def setGridParams(self, *args, **kwargs):
00930 """
00931 setGridParams(self, showmajorgrid=False, majorwidth=1, majorstyle=string("solid"), majorcolor=string("B0B0B0"),
00932 showminorgrid=False, minorwidth=1, minorstyle=string("solid"), minorcolor=string("C0CCE0"),
00933 updateImmediately=True, plotIndex=0)
00934
00935 Summary
00936 Set color, style for major and minor grid lines
00937
00938 Input Parameters:
00939 showmajorgrid Show major grid lines (horiz. and vert.)? false
00940 majorwidth Line width for major grid lines, pixels 1
00941 majorstyle Line style for major grid lines solid
00942 majorcolor Color of major grid lines B0B0B0
00943 showminorgrid Show minor grid lines (horiz. and vert.)? false
00944 minorwidth Line width for minor grid lines, pixels 1
00945 minorstyle Line style for minor grid lines solid
00946 minorcolor Color of minor grid lines C0CCE0
00947 updateImmediately whether to apply this change immediately, IF the window is currently shown true
00948 plotIndex the index of the plot to apply this change 0
00949
00950 --------------------------------------------------------------------------------
00951
00952 """
00953 return _plotms.plotms_setGridParams(self, *args, **kwargs)
00954
00955 def update(self):
00956 """
00957 update(self)
00958
00959 Summary
00960 Updates the running plotms with any un-applied changes.
00961 --------------------------------------------------------------------------------
00962
00963 """
00964 return _plotms.plotms_update(self)
00965
00966 def show(self):
00967 """
00968 show(self)
00969
00970 Summary
00971 Shows the plotms window.
00972 --------------------------------------------------------------------------------
00973
00974 """
00975 return _plotms.plotms_show(self)
00976
00977 def hide(self):
00978 """
00979 hide(self)
00980
00981 Summary
00982 Hides the plotms window.
00983 --------------------------------------------------------------------------------
00984
00985 """
00986 return _plotms.plotms_hide(self)
00987
00988 def save(self, *args, **kwargs):
00989 """
00990 save(self, plotfile, format, highres=False, interactive=False) -> bool
00991
00992 Summary
00993 save plot to file
00994
00995 Input Parameters:
00996 plotfile name of plot file
00997 format Format type, if not provided, attempt will be made to guess from plotfile extension
00998 highres Use high resolution? Always true for jpg and png. false
00999 interactive Interactive mode (will pop up confirmation window if true, set false for automated scripts to prevent blocking). false
01000
01001 --------------------------------------------------------------------------------
01002
01003 """
01004 return _plotms.plotms_save(self, *args, **kwargs)
01005
01006 def isDrawing(self):
01007 """
01008 isDrawing(self) -> bool
01009
01010 Summary
01011 Is the plot being drawn?
01012 --------------------------------------------------------------------------------
01013
01014 """
01015 return _plotms.plotms_isDrawing(self)
01016
01017 def isClosed(self):
01018 """
01019 isClosed(self) -> bool
01020
01021 Summary
01022 Has the plot received a closeEvent?
01023 --------------------------------------------------------------------------------
01024
01025 """
01026 return _plotms.plotms_isClosed(self)
01027
01028 def enableIter(self, *args, **kwargs):
01029 """
01030 enableIter(self, enable) -> bool
01031
01032 Summary
01033 A _temporary_ method to enable toggling the interation infrastructure
01034
01035 Input Parameters:
01036 enable If true, enable iteration, else disable.
01037
01038 --------------------------------------------------------------------------------
01039
01040 """
01041 return _plotms.plotms_enableIter(self, *args, **kwargs)
01042
01043 plotms_swigregister = _plotms.plotms_swigregister
01044 plotms_swigregister(plotms)
01045
01046
01047
01048