casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
table.py
Go to the documentation of this file.
00001 # This file was automatically generated by SWIG (http://www.swig.org).
00002 # Version 2.0.5
00003 #
00004 # Do not make changes to this file unless you know what you are doing--modify
00005 # the SWIG interface file instead.
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('_table', [dirname(__file__)])
00017         except ImportError:
00018             import _table
00019             return _table
00020         if fp is not None:
00021             try:
00022                 _mod = imp.load_module('_table', fp, pathname, description)
00023             finally:
00024                 fp.close()
00025             return _mod
00026     _table = swig_import_helper()
00027     del swig_import_helper
00028 else:
00029     import _table
00030 del version_info
00031 try:
00032     _swig_property = property
00033 except NameError:
00034     pass # Python < 2.2 doesn't have 'property'.
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 table(_object):
00071     """Proxy of C++ casac::table class"""
00072     __swig_setmethods__ = {}
00073     __setattr__ = lambda self, name, value: _swig_setattr(self, table, name, value)
00074     __swig_getmethods__ = {}
00075     __getattr__ = lambda self, name: _swig_getattr(self, table, name)
00076     __repr__ = _swig_repr
00077     def __init__(self): 
00078         """__init__(self) -> table"""
00079         this = _table.new_table()
00080         try: self.this.append(this)
00081         except: self.this = this
00082     __swig_destroy__ = _table.delete_table
00083     __del__ = lambda self : None;
00084     def fromfits(self, *args, **kwargs):
00085         """
00086         fromfits(self, tablename, fitsfile, whichhdu=1, storage=string("standard"), convention=string("none"), 
00087             nomodify=True, ack=True) -> table
00088 
00089         Summary
00090                 Create a casa table from a binary FITS file
00091 
00092         Input Parameters:
00093                 tablename        Name of table to be created 
00094                 fitsfile         Name of FITS file to be read 
00095                 whichhdu         Which HDU to read (0-relative to primary HDU i.e. 1 is the smallest valid value) 1 
00096                 storage          Storage manager to use (standard or incremental or memory) standard standard incremental memory 
00097                 convention       Convention to use (sdfits or none) none 
00098                 nomodify         Open Read-only? true 
00099                 ack              Acknowledge creations, etc true 
00100                 
00101         --------------------------------------------------------------------------------
00102                       
00103         """
00104         return _table.table_fromfits(self, *args, **kwargs)
00105 
00106     def fromascii(self, *args, **kwargs):
00107         """
00108         fromascii(self, tablename, asciifile, headerfile=string(""), autoheader=False, autoshape=initialize_vector(1, (int)-1), 
00109             sep=string(""), commentmarker=string(""), firstline=0, 
00110             lastline=-1, nomodify=True, columnnames=std::vector< string >(1, ""), datatypes=std::vector< string >(1, "")) -> bool
00111 
00112         Summary
00113                 Create a casa table from a file containing data in ASCII format
00114 
00115         Input Parameters:
00116                 tablename        Name of table to be created 
00117                 asciifile        Name of ASCII file to be read 
00118                 headerfile       Name of an optional file defining the format 
00119                 autoheader       Determine header information automatically false 
00120                 autoshape        Shape to be used if autoheader=True -1 
00121                 sep              Value separator 
00122                 commentmarker    Regex indicating comment line 
00123                 firstline        First line to use 0 
00124                 lastline         Last line to use -1 
00125                 nomodify         Open Read-only? true 
00126                 columnnames      Column Names 
00127                 datatypes        Data types 
00128                 
00129         --------------------------------------------------------------------------------
00130                       
00131         """
00132         return _table.table_fromascii(self, *args, **kwargs)
00133 
00134     def open(self, *args, **kwargs):
00135         """
00136         open(self, tablename=string(""), lockoptions=initialize_record("default"), nomodify=True) -> bool
00137 
00138         Summary
00139                 open an existing table
00140 
00141         Input Parameters:
00142                 tablename        
00143                 lockoptions      locking to be used default 
00144                 nomodify         true 
00145                 
00146         --------------------------------------------------------------------------------
00147                       
00148         """
00149         return _table.table_open(self, *args, **kwargs)
00150 
00151     def create(self, *args, **kwargs):
00152         """
00153         create(self, tablename=string(""), tabledesc=initialize_record(""), lockoptions=initialize_record("default"), 
00154             endianformat=string(""), memtype=string(""), nrow=0, dminfo=initialize_record("")) -> bool
00155 
00156         Summary
00157                 create a new table
00158 
00159         Input Parameters:
00160                 tablename        
00161                 tabledesc        description of the table's format 
00162                 lockoptions      locking to be used default 
00163                 endianformat     
00164                 memtype          
00165                 nrow             0 
00166                 dminfo           Data Manager information 
00167                 
00168         --------------------------------------------------------------------------------
00169                       
00170         """
00171         return _table.table_create(self, *args, **kwargs)
00172 
00173     def flush(self):
00174         """
00175         flush(self) -> bool
00176 
00177         Summary
00178                 flush the current contents to disk
00179         --------------------------------------------------------------------------------
00180                       
00181         """
00182         return _table.table_flush(self)
00183 
00184     def fromASDM(self, *args, **kwargs):
00185         """
00186         fromASDM(self, tablename, xmlfile) -> bool
00187 
00188         Summary
00189                 Create an CASA table from an ASDM table
00190 
00191         Input Parameters:
00192                 tablename        Name of table to be created 
00193                 xmlfile          Name of the XML file to be read 
00194                 
00195         --------------------------------------------------------------------------------
00196                       
00197         """
00198         return _table.table_fromASDM(self, *args, **kwargs)
00199 
00200     def resync(self):
00201         """
00202         resync(self) -> bool
00203 
00204         Summary
00205                 resync the table tool with table file
00206         --------------------------------------------------------------------------------
00207                       
00208         """
00209         return _table.table_resync(self)
00210 
00211     def close(self):
00212         """
00213         close(self) -> bool
00214 
00215         Summary
00216                 close the table tool
00217         --------------------------------------------------------------------------------
00218                       
00219         """
00220         return _table.table_close(self)
00221 
00222     def copy(self, *args, **kwargs):
00223         """
00224         copy(self, newtablename, deep=False, valuecopy=False, dminfo=initialize_record(""), endian=string("aipsrc"), 
00225             memorytable=False, returnobject=False, norows=False) -> table
00226 
00227         Summary
00228                 copy a table
00229 
00230         Input Parameters:
00231                 newtablename     Name of newtable on disk 
00232                 deep             Make a deep copy of a reference table? false 
00233                 valuecopy        Make a deep copy of any table? false 
00234                 dminfo           Data manager info for new table 
00235                 endian           Endian format of new table aipsrc 
00236                 memorytable      Hold new table in memory? false 
00237                 returnobject     Return a tool object for the new table false 
00238                 norows           Don't copy any rows (useful for copying only the table structure) false 
00239                 
00240         --------------------------------------------------------------------------------
00241                       
00242         """
00243         return _table.table_copy(self, *args, **kwargs)
00244 
00245     def copyrows(self, *args, **kwargs):
00246         """
00247         copyrows(self, outtable, startrowin=0, startrowout=-1, nrow=-1) -> bool
00248 
00249         Summary
00250                 copy rows from this table to another
00251 
00252         Input Parameters:
00253                 outtable         table object of output table 
00254                 startrowin       First row to take from input table 0 
00255                 startrowout      First row to write in output table, -1 (=end) -1 
00256                 nrow             Nr of rows to copy, -1 (=all) -1 
00257                 
00258         --------------------------------------------------------------------------------
00259                       
00260         """
00261         return _table.table_copyrows(self, *args, **kwargs)
00262 
00263     def done(self):
00264         """
00265         done(self) -> bool
00266 
00267         Summary
00268                 end the table tool
00269         --------------------------------------------------------------------------------
00270                       
00271         """
00272         return _table.table_done(self)
00273 
00274     def iswritable(self):
00275         """
00276         iswritable(self) -> bool
00277 
00278         Summary
00279                 is the table writable?
00280         --------------------------------------------------------------------------------
00281                       
00282         """
00283         return _table.table_iswritable(self)
00284 
00285     def endianformat(self):
00286         """
00287         endianformat(self) -> string
00288 
00289         Summary
00290                 get the endian format used for this table
00291         --------------------------------------------------------------------------------
00292                       
00293         """
00294         return _table.table_endianformat(self)
00295 
00296     def lock(self, write=True, nattempts=0):
00297         """
00298         lock(self, write=True, nattempts=0) -> bool
00299 
00300         Summary
00301                 acquire a lock on the table
00302 
00303         Input Parameters:
00304                 write            Write lock? (F=read lock) true 
00305                 nattempts        Nr of attempts 0 
00306                 
00307         --------------------------------------------------------------------------------
00308                       
00309         """
00310         return _table.table_lock(self, write, nattempts)
00311 
00312     def unlock(self):
00313         """
00314         unlock(self) -> bool
00315 
00316         Summary
00317                 unlock and flush the table
00318         --------------------------------------------------------------------------------
00319                       
00320         """
00321         return _table.table_unlock(self)
00322 
00323     def datachanged(self):
00324         """
00325         datachanged(self) -> bool
00326 
00327         Summary
00328                 has data changed in table?
00329         --------------------------------------------------------------------------------
00330                       
00331         """
00332         return _table.table_datachanged(self)
00333 
00334     def haslock(self, write=True):
00335         """
00336         haslock(self, write=True) -> bool
00337 
00338         Summary
00339                 has this process a lock on the table?
00340 
00341         Input Parameters:
00342                 write            Has it a write lock? (F=read lock) true 
00343                 
00344         --------------------------------------------------------------------------------
00345                       
00346         """
00347         return _table.table_haslock(self, write)
00348 
00349     def lockoptions(self):
00350         """
00351         lockoptions(self) -> record *
00352 
00353         Summary
00354                 get the lock options used for this table
00355         --------------------------------------------------------------------------------
00356                       
00357         """
00358         return _table.table_lockoptions(self)
00359 
00360     def ismultiused(self, checksubtables=False):
00361         """
00362         ismultiused(self, checksubtables=False) -> bool
00363 
00364         Summary
00365                 is the table in use in another process?
00366 
00367         Input Parameters:
00368                 checksubtables   check if subtables are multiused?) false 
00369                 
00370         --------------------------------------------------------------------------------
00371                       
00372         """
00373         return _table.table_ismultiused(self, checksubtables)
00374 
00375     def browse(self):
00376         """
00377         browse(self) -> bool
00378 
00379         Summary
00380                 browse a table using a graphical browser
00381         --------------------------------------------------------------------------------
00382                       
00383         """
00384         return _table.table_browse(self)
00385 
00386     def name(self):
00387         """
00388         name(self) -> string
00389 
00390         Summary
00391                 return name of table on disk
00392         --------------------------------------------------------------------------------
00393                       
00394         """
00395         return _table.table_name(self)
00396 
00397     def createmultitable(self, *args, **kwargs):
00398         """
00399         createmultitable(self, outputTableName, tables, subdirname) -> bool
00400 
00401         Summary
00402                 
00403                 Create a virtually concatenated table
00404                 
00405 
00406         Input Parameters:
00407                 outputTableName  name of the concatenated table 
00408                 tables           list of the names of the tables to be concatenated 
00409                 subdirname       optional name of the subdirectory into which the input tables are moved 
00410                 
00411         --------------------------------------------------------------------------------
00412                       
00413         """
00414         return _table.table_createmultitable(self, *args, **kwargs)
00415 
00416     def toasciifmt(self, *args, **kwargs):
00417         """
00418         toasciifmt(self, asciifile, headerfile=string(""), columns=std::vector< string >(1, ""), sep=string("")) -> bool
00419 
00420         Summary
00421                 Write casa table into an ASCII format 
00422 
00423         Input Parameters:
00424                 asciifile        Name of ASCII file to be written 
00425                 headerfile       Name of an optional file defining the format 
00426                 columns          Names of columns to be written, default is all 
00427                 sep              Value separator, default is one blank 
00428                 
00429         --------------------------------------------------------------------------------
00430                       
00431         """
00432         return _table.table_toasciifmt(self, *args, **kwargs)
00433 
00434     def taql(self, *args, **kwargs):
00435         """
00436         taql(self, taqlcommand=string("TaQL expression")) -> table
00437 
00438         Summary
00439                 Make a table from a TaQL command. 
00440 
00441         Input Parameters:
00442                 taqlcommand      TaQL expression> TaQL expression 
00443                 
00444         --------------------------------------------------------------------------------
00445                       
00446         """
00447         return _table.table_taql(self, *args, **kwargs)
00448 
00449     def query(self, *args, **kwargs):
00450         """
00451         query(self, query=string("String"), name=string(""), sortlist=string(""), columns=string(""), 
00452             style=string("")) -> table
00453 
00454         Summary
00455                 Make a table from a query
00456 
00457         Input Parameters:
00458                 query            Query string String 
00459                 name             Name of resulting reference table 
00460                 sortlist         Sort string (one or more expressions separated by commas) 
00461                 columns          List of column names separated by commas 
00462                 style            How to handle numeric ranges and order axes 
00463                 
00464         --------------------------------------------------------------------------------
00465                       
00466         """
00467         return _table.table_query(self, *args, **kwargs)
00468 
00469     def calc(self, *args, **kwargs):
00470         """
00471         calc(self, expr) -> variant *
00472 
00473         Summary
00474                 !!!NOT IMPLEMENTED!!! Calculate an expression on a table
00475 
00476         Input Parameters:
00477                 expr             Expression string 
00478                 
00479         --------------------------------------------------------------------------------
00480                       
00481         """
00482         return _table.table_calc(self, *args, **kwargs)
00483 
00484     def selectrows(self, *args, **kwargs):
00485         """
00486         selectrows(self, rownrs, name=string("")) -> table
00487 
00488         Summary
00489                 Make a table from a selection of rows
00490 
00491         Input Parameters:
00492                 rownrs           0-based Row Numbers 
00493                 name             Name of resulting table 
00494                 
00495         --------------------------------------------------------------------------------
00496                       
00497         """
00498         return _table.table_selectrows(self, *args, **kwargs)
00499 
00500     def info(self):
00501         """
00502         info(self) -> record *
00503 
00504         Summary
00505                 get the info record
00506         --------------------------------------------------------------------------------
00507                       
00508         """
00509         return _table.table_info(self)
00510 
00511     def putinfo(self, *args, **kwargs):
00512         """
00513         putinfo(self, value) -> bool
00514 
00515         Summary
00516                 set the info record
00517 
00518         Input Parameters:
00519                 value            Info record 
00520                 
00521         --------------------------------------------------------------------------------
00522                       
00523         """
00524         return _table.table_putinfo(self, *args, **kwargs)
00525 
00526     def addreadmeline(self, *args, **kwargs):
00527         """
00528         addreadmeline(self, value) -> bool
00529 
00530         Summary
00531                 add a readme line to the info record
00532 
00533         Input Parameters:
00534                 value            readme line 
00535                 
00536         --------------------------------------------------------------------------------
00537                       
00538         """
00539         return _table.table_addreadmeline(self, *args, **kwargs)
00540 
00541     def summary(self, recurse=False):
00542         """
00543         summary(self, recurse=False) -> bool
00544 
00545         Summary
00546                 summarize the contents of the table
00547 
00548         Input Parameters:
00549                 recurse          Summarize subtables recursively false 
00550                 
00551         --------------------------------------------------------------------------------
00552                       
00553         """
00554         return _table.table_summary(self, recurse)
00555 
00556     def colnames(self):
00557         """
00558         colnames(self) -> std::vector< std::string >
00559 
00560         Summary
00561                 return the names of the columns
00562         --------------------------------------------------------------------------------
00563                       
00564         """
00565         return _table.table_colnames(self)
00566 
00567     def rownumbers(self, *args, **kwargs):
00568         """
00569         rownumbers(self, tab=initialize_record(""), nbytes=0) -> std::vector< int >
00570 
00571         Summary
00572                 !!!INPUT PARAMETERS IGNORED!!! return the row numbers in the (reference) table
00573 
00574         Input Parameters:
00575                 tab              Table to which the row numbers refer 
00576                 nbytes           Maximum cache size in bytes 0 
00577                 
00578         --------------------------------------------------------------------------------
00579                       
00580         """
00581         return _table.table_rownumbers(self, *args, **kwargs)
00582 
00583     def setmaxcachesize(self, *args, **kwargs):
00584         """
00585         setmaxcachesize(self, columnname, nbytes) -> bool
00586 
00587         Summary
00588                 set maximum cache size for column in the table
00589 
00590         Input Parameters:
00591                 columnname       Name of column 
00592                 nbytes           Maximum cache size in bytes 
00593                 
00594         --------------------------------------------------------------------------------
00595                       
00596         """
00597         return _table.table_setmaxcachesize(self, *args, **kwargs)
00598 
00599     def isscalarcol(self, *args, **kwargs):
00600         """
00601         isscalarcol(self, columnname) -> bool
00602 
00603         Summary
00604                 is the specified column scalar?
00605 
00606         Input Parameters:
00607                 columnname       Name of column 
00608                 
00609         --------------------------------------------------------------------------------
00610                       
00611         """
00612         return _table.table_isscalarcol(self, *args, **kwargs)
00613 
00614     def isvarcol(self, *args, **kwargs):
00615         """
00616         isvarcol(self, columnname) -> bool
00617 
00618         Summary
00619                 tell if column contains variable shaped arrays
00620 
00621         Input Parameters:
00622                 columnname       Name of column 
00623                 
00624         --------------------------------------------------------------------------------
00625                       
00626         """
00627         return _table.table_isvarcol(self, *args, **kwargs)
00628 
00629     def coldatatype(self, *args, **kwargs):
00630         """
00631         coldatatype(self, columnname) -> string
00632 
00633         Summary
00634                 return the column data type
00635 
00636         Input Parameters:
00637                 columnname       Name of column 
00638                 
00639         --------------------------------------------------------------------------------
00640                       
00641         """
00642         return _table.table_coldatatype(self, *args, **kwargs)
00643 
00644     def colarraytype(self, *args, **kwargs):
00645         """
00646         colarraytype(self, columnname) -> string
00647 
00648         Summary
00649                 return the column array type
00650 
00651         Input Parameters:
00652                 columnname       Name of column 
00653                 
00654         --------------------------------------------------------------------------------
00655                       
00656         """
00657         return _table.table_colarraytype(self, *args, **kwargs)
00658 
00659     def ncols(self):
00660         """
00661         ncols(self) -> int
00662 
00663         Summary
00664                 return number of columns
00665         --------------------------------------------------------------------------------
00666                       
00667         """
00668         return _table.table_ncols(self)
00669 
00670     def nrows(self):
00671         """
00672         nrows(self) -> int
00673 
00674         Summary
00675                 return number of rows
00676         --------------------------------------------------------------------------------
00677                       
00678         """
00679         return _table.table_nrows(self)
00680 
00681     def addrows(self, nrow=1):
00682         """
00683         addrows(self, nrow=1) -> bool
00684 
00685         Summary
00686                 add a specified number of rows
00687 
00688         Input Parameters:
00689                 nrow             Number of rows to add 1 
00690                 
00691         --------------------------------------------------------------------------------
00692                       
00693         """
00694         return _table.table_addrows(self, nrow)
00695 
00696     def removerows(self, *args, **kwargs):
00697         """
00698         removerows(self, rownrs) -> bool
00699 
00700         Summary
00701                 remove the specified rows
00702 
00703         Input Parameters:
00704                 rownrs           Row numbers to remove 
00705                 
00706         --------------------------------------------------------------------------------
00707                       
00708         """
00709         return _table.table_removerows(self, *args, **kwargs)
00710 
00711     def addcols(self, *args, **kwargs):
00712         """
00713         addcols(self, desc, dminfo=initialize_record("")) -> bool
00714 
00715         Summary
00716                 !!!REQUIRES COLUMN DESCRIPTION FUNCTIONS THAT HAVE NOT BEEN IMPLEMENTED!!!
00717         add one or more columns
00718 
00719         Input Parameters:
00720                 desc             Description of one or more columns 
00721                 dminfo           Optional description data manager to use 
00722                 
00723         --------------------------------------------------------------------------------
00724                       
00725         """
00726         return _table.table_addcols(self, *args, **kwargs)
00727 
00728     def renamecol(self, *args, **kwargs):
00729         """
00730         renamecol(self, oldname, newname) -> bool
00731 
00732         Summary
00733                 rename a column
00734 
00735         Input Parameters:
00736                 oldname          name of column to be renamed 
00737                 newname          new name of column 
00738                 
00739         --------------------------------------------------------------------------------
00740                       
00741         """
00742         return _table.table_renamecol(self, *args, **kwargs)
00743 
00744     def removecols(self, *args, **kwargs):
00745         """
00746         removecols(self, columnames) -> bool
00747 
00748         Summary
00749                 remove one or more columns
00750 
00751         Input Parameters:
00752                 columnames       names of columns to be removed 
00753                 
00754         --------------------------------------------------------------------------------
00755                       
00756         """
00757         return _table.table_removecols(self, *args, **kwargs)
00758 
00759     def iscelldefined(self, *args, **kwargs):
00760         """
00761         iscelldefined(self, columnname, rownr=0) -> bool
00762 
00763         Summary
00764                 test if a specific cell contains a value
00765 
00766         Input Parameters:
00767                 columnname       Name of column 
00768                 rownr            Row number, starting at 0 0 
00769                 
00770         --------------------------------------------------------------------------------
00771                       
00772         """
00773         return _table.table_iscelldefined(self, *args, **kwargs)
00774 
00775     def getcell(self, *args, **kwargs):
00776         """
00777         getcell(self, columnname, rownr=0) -> variant *
00778 
00779         Summary
00780                 get a specific cell
00781 
00782         Input Parameters:
00783                 columnname       Name of column 
00784                 rownr            Row number, starting at 0 0 
00785                 
00786         --------------------------------------------------------------------------------
00787                       
00788         """
00789         return _table.table_getcell(self, *args, **kwargs)
00790 
00791     def getcellslice(self, *args, **kwargs):
00792         """
00793         getcellslice(self, columnname, rownr, blc, trc, incr=initialize_vector(1, (int)1)) -> variant *
00794 
00795         Summary
00796                 get a slice from a specific cell
00797 
00798         Input Parameters:
00799                 columnname       Name of column 
00800                 rownr            Row number, starting at 0 
00801                 blc              Bottom left corner (e.g. [0,0,0] is start of 3D array) 
00802                 trc              Top right corner 
00803                 incr             Stride (defaults to 1 for all axes) 1 
00804                 
00805         --------------------------------------------------------------------------------
00806                       
00807         """
00808         return _table.table_getcellslice(self, *args, **kwargs)
00809 
00810     def getcol(self, *args, **kwargs):
00811         """
00812         getcol(self, columnname, startrow=0, nrow=-1, rowincr=1) -> variant *
00813 
00814         Summary
00815                 get a specific column
00816 
00817         Input Parameters:
00818                 columnname       Name of column 
00819                 startrow         First row to read (default 0) 0 
00820                 nrow             Number of rows to read (default -1 means till the end) -1 
00821                 rowincr          Increment in rows to read (default 1) 1 
00822                 
00823         --------------------------------------------------------------------------------
00824                       
00825         """
00826         return _table.table_getcol(self, *args, **kwargs)
00827 
00828     def getvarcol(self, *args, **kwargs):
00829         """
00830         getvarcol(self, columnname, startrow=0, nrow=-1, rowincr=1) -> record *
00831 
00832         Summary
00833                 get a specific column (for variable arrays)
00834 
00835         Input Parameters:
00836                 columnname       Name of column 
00837                 startrow         First row to read (default 0) 0 
00838                 nrow             Number of rows to read (default -1 means till the end) -1 
00839                 rowincr          Increment in rows to read (default 1) 1 
00840                 
00841         --------------------------------------------------------------------------------
00842                       
00843         """
00844         return _table.table_getvarcol(self, *args, **kwargs)
00845 
00846     def getcolslice(self, *args, **kwargs):
00847         """
00848         getcolslice(self, columnname, blc, trc, incr, startrow=0, nrow=-1, rowincr=1) -> variant *
00849 
00850         Summary
00851                 get a slice from a specific column
00852 
00853         Summary
00854                 array
00855 
00856         Input Parameters:
00857                 columnname       Name of column 
00858                 blc              Bottom left corner (e.g. [0,0,0] is start of 3D array) 
00859                 trc              Top right corner 
00860                 incr             Stride (defaults to 1 for all axes) 
00861                 startrow         First row to read (default 0) 0 
00862                 nrow             Number of rows to read (default -1 means till the end) -1 
00863                 rowincr          Increment in rows to read (default 1) 1 
00864                 
00865         --------------------------------------------------------------------------------
00866                       
00867         """
00868         return _table.table_getcolslice(self, *args, **kwargs)
00869 
00870     def putcell(self, *args, **kwargs):
00871         """
00872         putcell(self, columnname, rownr, thevalue) -> bool
00873 
00874         Summary
00875                 put a specific cell
00876 
00877         Input Parameters:
00878                 columnname       Name of column 
00879                 rownr            Row number(s) (0-relative) 
00880                 thevalue         Value 
00881                 
00882         --------------------------------------------------------------------------------
00883                       
00884         """
00885         return _table.table_putcell(self, *args, **kwargs)
00886 
00887     def putcellslice(self, *args, **kwargs):
00888         """
00889         putcellslice(self, columnname, rownr, value, blc, trc, incr=initialize_vector(1, (int)1)) -> bool
00890 
00891         Summary
00892                 put a slice into a specific cell
00893 
00894         Input Parameters:
00895                 columnname       Name of column 
00896                 rownr            Row number, starting at 0 
00897                 value            Value 
00898                 blc              Bottom left corner (e.g. [0,0,0] is start of 3D array) 
00899                 trc              Top right corner 
00900                 incr             Stride (defaults to 1 for all axes) 1 
00901                 
00902         --------------------------------------------------------------------------------
00903                       
00904         """
00905         return _table.table_putcellslice(self, *args, **kwargs)
00906 
00907     def putcol(self, *args, **kwargs):
00908         """
00909         putcol(self, columnname, value, startrow=0, nrow=-1, rowincr=1) -> bool
00910 
00911         Summary
00912                 put a specific column
00913 
00914         Input Parameters:
00915                 columnname       Name of column 
00916                 value            Array 
00917                 startrow         First row to put (default 0) 0 
00918                 nrow             Number of rows to put (default -1 means till the end) -1 
00919                 rowincr          Increment in rows to put (default 1) 1 
00920                 
00921         --------------------------------------------------------------------------------
00922                       
00923         """
00924         return _table.table_putcol(self, *args, **kwargs)
00925 
00926     def putvarcol(self, *args, **kwargs):
00927         """
00928         putvarcol(self, columnname, value, startrow=0, nrow=-1, rowincr=1) -> bool
00929 
00930         Summary
00931                 put a specific column (for variable arrays)
00932 
00933         Input Parameters:
00934                 columnname       Name of column 
00935                 value            Record with values 
00936                 startrow         First row to put (default 0) 0 
00937                 nrow             Number of rows to put (default -1 means till the end) -1 
00938                 rowincr          Increment in rows to put (default 1) 1 
00939                 
00940         --------------------------------------------------------------------------------
00941                       
00942         """
00943         return _table.table_putvarcol(self, *args, **kwargs)
00944 
00945     def putcolslice(self, *args, **kwargs):
00946         """
00947         putcolslice(self, columnname, value, blc, trc, incr=initialize_vector(1, (int)1), startrow=0, nrow=-1, 
00948             rowincr=1) -> bool
00949 
00950         Summary
00951                 put a slice into a specific column
00952 
00953         Input Parameters:
00954                 columnname       Name of column 
00955                 value            Array 
00956                 blc              Bottom left corner (e.g. [0,0,0] is start of 3D array) 
00957                 trc              Top right corner 
00958                 incr             Stride (defaults to 1 for all axes) 1 
00959                 startrow         First row to put (default 0) 0 
00960                 nrow             Number of rows to put (default -1 means till the end) -1 
00961                 rowincr          Increment in rows to put (default 1) 1 
00962                 
00963         --------------------------------------------------------------------------------
00964                       
00965         """
00966         return _table.table_putcolslice(self, *args, **kwargs)
00967 
00968     def getcolshapestring(self, *args, **kwargs):
00969         """
00970         getcolshapestring(self, columnname, startrow=0, nrow=-1, rowincr=1) -> std::vector< std::string >
00971 
00972         Summary
00973                 get shape of arrays in a specific column
00974 
00975         Input Parameters:
00976                 columnname       Name of column 
00977                 startrow         First row to read (default 0) 0 
00978                 nrow             Number of rows to read (default -1 means till the end) -1 
00979                 rowincr          Increment in rows to read (default 1) 1 
00980                 
00981         --------------------------------------------------------------------------------
00982                       
00983         """
00984         return _table.table_getcolshapestring(self, *args, **kwargs)
00985 
00986     def getkeyword(self, *args, **kwargs):
00987         """
00988         getkeyword(self, keyword) -> variant *
00989 
00990         Summary
00991                 get value of specific table keyword
00992 
00993         Input Parameters:
00994                 keyword          Name or seqnr of keyword: string or int 
00995                 
00996         --------------------------------------------------------------------------------
00997                       
00998         """
00999         return _table.table_getkeyword(self, *args, **kwargs)
01000 
01001     def getkeywords(self):
01002         """
01003         getkeywords(self) -> record *
01004 
01005         Summary
01006                 get values of all table keywords
01007         --------------------------------------------------------------------------------
01008                       
01009         """
01010         return _table.table_getkeywords(self)
01011 
01012     def getcolkeyword(self, *args, **kwargs):
01013         """
01014         getcolkeyword(self, columnname, keyword) -> variant *
01015 
01016         Summary
01017                 get value of specific column keyword
01018 
01019         Input Parameters:
01020                 columnname       Name of column 
01021                 keyword          Name or seqnr of keyword: string or int 
01022                 
01023         --------------------------------------------------------------------------------
01024                       
01025         """
01026         return _table.table_getcolkeyword(self, *args, **kwargs)
01027 
01028     def getcolkeywords(self, *args, **kwargs):
01029         """
01030         getcolkeywords(self, columnname=string("")) -> variant *
01031 
01032         Summary
01033                 get values of all keywords for a column
01034 
01035         Input Parameters:
01036                 columnname       Name of column 
01037                 
01038         --------------------------------------------------------------------------------
01039                       
01040         """
01041         return _table.table_getcolkeywords(self, *args, **kwargs)
01042 
01043     def putkeyword(self, *args, **kwargs):
01044         """
01045         putkeyword(self, keyword, value, makesubrecord=False) -> bool
01046 
01047         Summary
01048                 put a specific table keyword
01049 
01050         Input Parameters:
01051                 keyword          Name or seqnr of keyword: string or int 
01052                 value            Value of keyword 
01053                 makesubrecord    Create intermediate records false 
01054                 
01055         --------------------------------------------------------------------------------
01056                       
01057         """
01058         return _table.table_putkeyword(self, *args, **kwargs)
01059 
01060     def putkeywords(self, *args, **kwargs):
01061         """
01062         putkeywords(self, value) -> bool
01063 
01064         Summary
01065                 !!!BROKEN!!! put multiple table keywords
01066 
01067         Input Parameters:
01068                 value            Record of keyword=value pairs 
01069                 
01070         --------------------------------------------------------------------------------
01071                       
01072         """
01073         return _table.table_putkeywords(self, *args, **kwargs)
01074 
01075     def putcolkeyword(self, *args, **kwargs):
01076         """
01077         putcolkeyword(self, columnname, keyword, value) -> bool
01078 
01079         Summary
01080                 put a specific keyword for a column
01081 
01082         Input Parameters:
01083                 columnname       Name of column 
01084                 keyword          Name or seqnr of keyword,string or int 
01085                 value            Value of keyword 
01086                 
01087         --------------------------------------------------------------------------------
01088                       
01089         """
01090         return _table.table_putcolkeyword(self, *args, **kwargs)
01091 
01092     def putcolkeywords(self, *args, **kwargs):
01093         """
01094         putcolkeywords(self, columnname, value) -> bool
01095 
01096         Summary
01097                 put multiple keywords for a column
01098 
01099         Input Parameters:
01100                 columnname       Name of column 
01101                 value            Record of keyword=value pairs 
01102                 
01103         --------------------------------------------------------------------------------
01104                       
01105         """
01106         return _table.table_putcolkeywords(self, *args, **kwargs)
01107 
01108     def removekeyword(self, *args, **kwargs):
01109         """
01110         removekeyword(self, keyword) -> bool
01111 
01112         Summary
01113                 remove a specific table keyword
01114 
01115         Input Parameters:
01116                 keyword          Name or seqnr of keyword: string or int 
01117                 
01118         --------------------------------------------------------------------------------
01119                       
01120         """
01121         return _table.table_removekeyword(self, *args, **kwargs)
01122 
01123     def removecolkeyword(self, *args, **kwargs):
01124         """
01125         removecolkeyword(self, columnname, keyword) -> bool
01126 
01127         Summary
01128                 remove a specific keyword for a column
01129 
01130         Input Parameters:
01131                 columnname       Name of column 
01132                 keyword          Name or seqnr of keyword: string or int 
01133                 
01134         --------------------------------------------------------------------------------
01135                       
01136         """
01137         return _table.table_removecolkeyword(self, *args, **kwargs)
01138 
01139     def getdminfo(self):
01140         """
01141         getdminfo(self) -> record *
01142 
01143         Summary
01144                 get the info about data managers
01145         --------------------------------------------------------------------------------
01146                       
01147         """
01148         return _table.table_getdminfo(self)
01149 
01150     def keywordnames(self):
01151         """
01152         keywordnames(self) -> std::vector< std::string >
01153 
01154         Summary
01155                 get the names of all table keywords
01156         --------------------------------------------------------------------------------
01157                       
01158         """
01159         return _table.table_keywordnames(self)
01160 
01161     def fieldnames(self, *args, **kwargs):
01162         """
01163         fieldnames(self, keyword=string("")) -> std::vector< std::string >
01164 
01165         Summary
01166                 get the names of fields in a table keyword
01167 
01168         Input Parameters:
01169                 keyword          keyword name 
01170                 
01171         --------------------------------------------------------------------------------
01172                       
01173         """
01174         return _table.table_fieldnames(self, *args, **kwargs)
01175 
01176     def colkeywordnames(self, *args, **kwargs):
01177         """
01178         colkeywordnames(self, columnname) -> std::vector< std::string >
01179 
01180         Summary
01181                 get the names of all keywords in a column
01182 
01183         Input Parameters:
01184                 columnname       column name 
01185                 
01186         --------------------------------------------------------------------------------
01187                       
01188         """
01189         return _table.table_colkeywordnames(self, *args, **kwargs)
01190 
01191     def colfieldnames(self, *args, **kwargs):
01192         """
01193         colfieldnames(self, columnname, keyword=string("")) -> std::vector< std::string >
01194 
01195         Summary
01196                 get the names of fields in a keyword in a column
01197 
01198         Input Parameters:
01199                 columnname       column name 
01200                 keyword          keyword name 
01201                 
01202         --------------------------------------------------------------------------------
01203                       
01204         """
01205         return _table.table_colfieldnames(self, *args, **kwargs)
01206 
01207     def getdesc(self, actual=True):
01208         """
01209         getdesc(self, actual=True) -> record *
01210 
01211         Summary
01212                 get the table description
01213 
01214         Input Parameters:
01215                 actual           actual table description? true 
01216                 
01217         --------------------------------------------------------------------------------
01218                       
01219         """
01220         return _table.table_getdesc(self, actual)
01221 
01222     def getcoldesc(self, *args, **kwargs):
01223         """
01224         getcoldesc(self, columnname) -> record *
01225 
01226         Summary
01227                 get the description of a specific
01228         column
01229 
01230         Input Parameters:
01231                 columnname       Name of column 
01232                 
01233         --------------------------------------------------------------------------------
01234                       
01235         """
01236         return _table.table_getcoldesc(self, *args, **kwargs)
01237 
01238     def ok(self):
01239         """
01240         ok(self) -> bool
01241 
01242         Summary
01243                 Is the table tool ok?
01244         --------------------------------------------------------------------------------
01245                       
01246         """
01247         return _table.table_ok(self)
01248 
01249     def clearlocks(self):
01250         """
01251         clearlocks(self) -> bool
01252 
01253         Summary
01254                 Clears any table lock associated with the current process
01255         --------------------------------------------------------------------------------
01256                       
01257         """
01258         return _table.table_clearlocks(self)
01259 
01260     def listlocks(self):
01261         """
01262         listlocks(self) -> bool
01263 
01264         Summary
01265                 Lists any table lock associated with the current process
01266         --------------------------------------------------------------------------------
01267                       
01268         """
01269         return _table.table_listlocks(self)
01270 
01271     def statistics(self, *args, **kwargs):
01272         """
01273         statistics(self, column, complex_value=string(""), useflags=True) -> record *
01274 
01275         Summary
01276                 Get statistics on the selected table column
01277 
01278         Input Parameters:
01279                 column           Column name 
01280                 complex_value    Which derived value to use for complex columns (amp, amplitude, phase, imag, real, imaginary) 
01281                 useflags         Use the data flags true 
01282                 
01283         --------------------------------------------------------------------------------
01284                       
01285         """
01286         return _table.table_statistics(self, *args, **kwargs)
01287 
01288     def showcache(self, verbose=True):
01289         """
01290         showcache(self, verbose=True) -> std::vector< std::string >
01291 
01292         Summary
01293                 show the contents of the table cache
01294 
01295         Input Parameters:
01296                 verbose          true 
01297                 
01298         --------------------------------------------------------------------------------
01299                       
01300         """
01301         return _table.table_showcache(self, verbose)
01302 
01303 table_swigregister = _table.table_swigregister
01304 table_swigregister(table)
01305 
01306 # This file is compatible with both classic and new-style classes.
01307 
01308