casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Static Private Attributes
__casac__.table.table Class Reference
Inheritance diagram for __casac__.table.table:
__casac__.table._object

List of all members.

Public Member Functions

def __init__
def fromfits
def fromascii
def open
def create
def flush
def fromASDM
def resync
def close
def copy
def copyrows
def done
def iswritable
def endianformat
def lock
def unlock
def datachanged
def haslock
def lockoptions
def ismultiused
def browse
def name
def createmultitable
def toasciifmt
def taql
def query
def calc
def selectrows
def info
def putinfo
def addreadmeline
def summary
def colnames
def rownumbers
def setmaxcachesize
def isscalarcol
def isvarcol
def coldatatype
def colarraytype
def ncols
def nrows
def addrows
def removerows
def addcols
def renamecol
def removecols
def iscelldefined
def getcell
def getcellslice
def getcol
def getvarcol
def getcolslice
def putcell
def putcellslice
def putcol
def putvarcol
def putcolslice
def getcolshapestring
def getkeyword
def getkeywords
def getcolkeyword
def getcolkeywords
def putkeyword
def putkeywords
def putcolkeyword
def putcolkeywords
def removekeyword
def removecolkeyword
def getdminfo
def keywordnames
def fieldnames
def colkeywordnames
def colfieldnames
def getdesc
def getcoldesc
def ok
def clearlocks
def listlocks
def statistics
def showcache

Public Attributes

 this

Static Private Attributes

dictionary __swig_setmethods__
tuple __setattr__
dictionary __swig_getmethods__
tuple __getattr__
 __repr__
 __swig_destroy__
 __del__

Detailed Description

Proxy of C++ casac::table class

Definition at line 70 of file table.py.


Constructor & Destructor Documentation

__init__(self) -> table

Definition at line 77 of file table.py.


Member Function Documentation

def __casac__.table.table.addcols (   self,
  args,
  kwargs 
)
addcols(self, desc, dminfo=initialize_record("")) -> bool

Summary
!!!REQUIRES COLUMN DESCRIPTION FUNCTIONS THAT HAVE NOT BEEN IMPLEMENTED!!!
add one or more columns

Input Parameters:
desc             Description of one or more columns 
dminfo           Optional description data manager to use 

--------------------------------------------------------------------------------

Definition at line 711 of file table.py.

def __casac__.table.table.addreadmeline (   self,
  args,
  kwargs 
)
addreadmeline(self, value) -> bool

Summary
add a readme line to the info record

Input Parameters:
value            readme line 

--------------------------------------------------------------------------------

Definition at line 526 of file table.py.

def __casac__.table.table.addrows (   self,
  nrow = 1 
)
addrows(self, nrow=1) -> bool

Summary
add a specified number of rows

Input Parameters:
nrow             Number of rows to add 1 

--------------------------------------------------------------------------------

Definition at line 681 of file table.py.

browse(self) -> bool

Summary
browse a table using a graphical browser
--------------------------------------------------------------------------------

Definition at line 375 of file table.py.

def __casac__.table.table.calc (   self,
  args,
  kwargs 
)
calc(self, expr) -> variant *

Summary
!!!NOT IMPLEMENTED!!! Calculate an expression on a table

Input Parameters:
expr             Expression string 

--------------------------------------------------------------------------------

Definition at line 469 of file table.py.

clearlocks(self) -> bool

Summary
Clears any table lock associated with the current process
--------------------------------------------------------------------------------

Definition at line 1249 of file table.py.

close(self) -> bool

Summary
close the table tool
--------------------------------------------------------------------------------

Definition at line 211 of file table.py.

def __casac__.table.table.colarraytype (   self,
  args,
  kwargs 
)
colarraytype(self, columnname) -> string

Summary
return the column array type

Input Parameters:
columnname       Name of column 

--------------------------------------------------------------------------------

Definition at line 644 of file table.py.

def __casac__.table.table.coldatatype (   self,
  args,
  kwargs 
)
coldatatype(self, columnname) -> string

Summary
return the column data type

Input Parameters:
columnname       Name of column 

--------------------------------------------------------------------------------

Definition at line 629 of file table.py.

def __casac__.table.table.colfieldnames (   self,
  args,
  kwargs 
)
colfieldnames(self, columnname, keyword=string("")) -> std::vector< std::string >

Summary
get the names of fields in a keyword in a column

Input Parameters:
columnname       column name 
keyword          keyword name 

--------------------------------------------------------------------------------

Definition at line 1191 of file table.py.

def __casac__.table.table.colkeywordnames (   self,
  args,
  kwargs 
)
colkeywordnames(self, columnname) -> std::vector< std::string >

Summary
get the names of all keywords in a column

Input Parameters:
columnname       column name 

--------------------------------------------------------------------------------

Definition at line 1176 of file table.py.

colnames(self) -> std::vector< std::string >

Summary
return the names of the columns
--------------------------------------------------------------------------------

Definition at line 556 of file table.py.

def __casac__.table.table.copy (   self,
  args,
  kwargs 
)
copy(self, newtablename, deep=False, valuecopy=False, dminfo=initialize_record(""), endian=string("aipsrc"), 
    memorytable=False, returnobject=False, norows=False) -> table

Summary
copy a table

Input Parameters:
newtablename     Name of newtable on disk 
deep             Make a deep copy of a reference table? false 
valuecopy        Make a deep copy of any table? false 
dminfo           Data manager info for new table 
endian           Endian format of new table aipsrc 
memorytable      Hold new table in memory? false 
returnobject     Return a tool object for the new table false 
norows           Don't copy any rows (useful for copying only the table structure) false 

--------------------------------------------------------------------------------

Definition at line 222 of file table.py.

Referenced by asap.scantable.scantable._select_copy(), asap.scantable.scantable.auto_chebyshev_baseline(), asap.scantable.scantable.auto_cspline_baseline(), asap.scantable.scantable.auto_poly_baseline(), asap.scantable.scantable.auto_quotient(), asap.scantable.scantable.auto_sinusoid_baseline(), asap.scantable.scantable.chebyshev_baseline(), asap.scantable.scantable.cspline_baseline(), asap.scantable.scantable.get_row(), asap.scantable.scantable.poly_baseline(), asap.scantable.scantable.regrid_channel(), and asap.scantable.scantable.sinusoid_baseline().

def __casac__.table.table.copyrows (   self,
  args,
  kwargs 
)
copyrows(self, outtable, startrowin=0, startrowout=-1, nrow=-1) -> bool

Summary
copy rows from this table to another

Input Parameters:
outtable         table object of output table 
startrowin       First row to take from input table 0 
startrowout      First row to write in output table, -1 (=end) -1 
nrow             Nr of rows to copy, -1 (=all) -1 

--------------------------------------------------------------------------------

Definition at line 245 of file table.py.

def __casac__.table.table.create (   self,
  args,
  kwargs 
)
create(self, tablename=string(""), tabledesc=initialize_record(""), lockoptions=initialize_record("default"), 
    endianformat=string(""), memtype=string(""), nrow=0, dminfo=initialize_record("")) -> bool

Summary
create a new table

Input Parameters:
tablename        
tabledesc        description of the table's format 
lockoptions      locking to be used default 
endianformat     
memtype          
nrow             0 
dminfo           Data Manager information 

--------------------------------------------------------------------------------

Definition at line 151 of file table.py.

def __casac__.table.table.createmultitable (   self,
  args,
  kwargs 
)
createmultitable(self, outputTableName, tables, subdirname) -> bool

Summary

Create a virtually concatenated table


Input Parameters:
outputTableName  name of the concatenated table 
tables           list of the names of the tables to be concatenated 
subdirname       optional name of the subdirectory into which the input tables are moved 

--------------------------------------------------------------------------------

Definition at line 397 of file table.py.

datachanged(self) -> bool

Summary
has data changed in table?
--------------------------------------------------------------------------------

Definition at line 323 of file table.py.

done(self) -> bool

Summary
end the table tool
--------------------------------------------------------------------------------

Definition at line 263 of file table.py.

endianformat(self) -> string

Summary
get the endian format used for this table
--------------------------------------------------------------------------------

Definition at line 285 of file table.py.

def __casac__.table.table.fieldnames (   self,
  args,
  kwargs 
)
fieldnames(self, keyword=string("")) -> std::vector< std::string >

Summary
get the names of fields in a table keyword

Input Parameters:
keyword          keyword name 

--------------------------------------------------------------------------------

Definition at line 1161 of file table.py.

flush(self) -> bool

Summary
flush the current contents to disk
--------------------------------------------------------------------------------

Definition at line 173 of file table.py.

def __casac__.table.table.fromascii (   self,
  args,
  kwargs 
)
fromascii(self, tablename, asciifile, headerfile=string(""), autoheader=False, autoshape=initialize_vector(1, (int)-1), 
    sep=string(""), commentmarker=string(""), firstline=0, 
    lastline=-1, nomodify=True, columnnames=std::vector< string >(1, ""), datatypes=std::vector< string >(1, "")) -> bool

Summary
Create a casa table from a file containing data in ASCII format

Input Parameters:
tablename        Name of table to be created 
asciifile        Name of ASCII file to be read 
headerfile       Name of an optional file defining the format 
autoheader       Determine header information automatically false 
autoshape        Shape to be used if autoheader=True -1 
sep              Value separator 
commentmarker    Regex indicating comment line 
firstline        First line to use 0 
lastline         Last line to use -1 
nomodify         Open Read-only? true 
columnnames      Column Names 
datatypes        Data types 

--------------------------------------------------------------------------------

Definition at line 106 of file table.py.

def __casac__.table.table.fromASDM (   self,
  args,
  kwargs 
)
fromASDM(self, tablename, xmlfile) -> bool

Summary
Create an CASA table from an ASDM table

Input Parameters:
tablename        Name of table to be created 
xmlfile          Name of the XML file to be read 

--------------------------------------------------------------------------------

Definition at line 184 of file table.py.

def __casac__.table.table.fromfits (   self,
  args,
  kwargs 
)
fromfits(self, tablename, fitsfile, whichhdu=1, storage=string("standard"), convention=string("none"), 
    nomodify=True, ack=True) -> table

Summary
Create a casa table from a binary FITS file

Input Parameters:
tablename        Name of table to be created 
fitsfile         Name of FITS file to be read 
whichhdu         Which HDU to read (0-relative to primary HDU i.e. 1 is the smallest valid value) 1 
storage          Storage manager to use (standard or incremental or memory) standard standard incremental memory 
convention       Convention to use (sdfits or none) none 
nomodify         Open Read-only? true 
ack              Acknowledge creations, etc true 

--------------------------------------------------------------------------------

Definition at line 84 of file table.py.

def __casac__.table.table.getcell (   self,
  args,
  kwargs 
)
getcell(self, columnname, rownr=0) -> variant *

Summary
get a specific cell

Input Parameters:
columnname       Name of column 
rownr            Row number, starting at 0 0 

--------------------------------------------------------------------------------

Definition at line 775 of file table.py.

def __casac__.table.table.getcellslice (   self,
  args,
  kwargs 
)
getcellslice(self, columnname, rownr, blc, trc, incr=initialize_vector(1, (int)1)) -> variant *

Summary
get a slice from a specific cell

Input Parameters:
columnname       Name of column 
rownr            Row number, starting at 0 
blc              Bottom left corner (e.g. [0,0,0] is start of 3D array) 
trc              Top right corner 
incr             Stride (defaults to 1 for all axes) 1 

--------------------------------------------------------------------------------

Definition at line 791 of file table.py.

def __casac__.table.table.getcol (   self,
  args,
  kwargs 
)
getcol(self, columnname, startrow=0, nrow=-1, rowincr=1) -> variant *

Summary
get a specific column

Input Parameters:
columnname       Name of column 
startrow         First row to read (default 0) 0 
nrow             Number of rows to read (default -1 means till the end) -1 
rowincr          Increment in rows to read (default 1) 1 

--------------------------------------------------------------------------------

Definition at line 810 of file table.py.

def __casac__.table.table.getcoldesc (   self,
  args,
  kwargs 
)
getcoldesc(self, columnname) -> record *

Summary
get the description of a specific
column

Input Parameters:
columnname       Name of column 

--------------------------------------------------------------------------------

Definition at line 1222 of file table.py.

def __casac__.table.table.getcolkeyword (   self,
  args,
  kwargs 
)
getcolkeyword(self, columnname, keyword) -> variant *

Summary
get value of specific column keyword

Input Parameters:
columnname       Name of column 
keyword          Name or seqnr of keyword: string or int 

--------------------------------------------------------------------------------

Definition at line 1012 of file table.py.

def __casac__.table.table.getcolkeywords (   self,
  args,
  kwargs 
)
getcolkeywords(self, columnname=string("")) -> variant *

Summary
get values of all keywords for a column

Input Parameters:
columnname       Name of column 

--------------------------------------------------------------------------------

Definition at line 1028 of file table.py.

def __casac__.table.table.getcolshapestring (   self,
  args,
  kwargs 
)
getcolshapestring(self, columnname, startrow=0, nrow=-1, rowincr=1) -> std::vector< std::string >

Summary
get shape of arrays in a specific column

Input Parameters:
columnname       Name of column 
startrow         First row to read (default 0) 0 
nrow             Number of rows to read (default -1 means till the end) -1 
rowincr          Increment in rows to read (default 1) 1 

--------------------------------------------------------------------------------

Definition at line 968 of file table.py.

def __casac__.table.table.getcolslice (   self,
  args,
  kwargs 
)
getcolslice(self, columnname, blc, trc, incr, startrow=0, nrow=-1, rowincr=1) -> variant *

Summary
get a slice from a specific column

Summary
array

Input Parameters:
columnname       Name of column 
blc              Bottom left corner (e.g. [0,0,0] is start of 3D array) 
trc              Top right corner 
incr             Stride (defaults to 1 for all axes) 
startrow         First row to read (default 0) 0 
nrow             Number of rows to read (default -1 means till the end) -1 
rowincr          Increment in rows to read (default 1) 1 

--------------------------------------------------------------------------------

Definition at line 846 of file table.py.

def __casac__.table.table.getdesc (   self,
  actual = True 
)
getdesc(self, actual=True) -> record *

Summary
get the table description

Input Parameters:
actual           actual table description? true 

--------------------------------------------------------------------------------

Definition at line 1207 of file table.py.

getdminfo(self) -> record *

Summary
get the info about data managers
--------------------------------------------------------------------------------

Definition at line 1139 of file table.py.

def __casac__.table.table.getkeyword (   self,
  args,
  kwargs 
)
getkeyword(self, keyword) -> variant *

Summary
get value of specific table keyword

Input Parameters:
keyword          Name or seqnr of keyword: string or int 

--------------------------------------------------------------------------------

Definition at line 986 of file table.py.

getkeywords(self) -> record *

Summary
get values of all table keywords
--------------------------------------------------------------------------------

Definition at line 1001 of file table.py.

def __casac__.table.table.getvarcol (   self,
  args,
  kwargs 
)
getvarcol(self, columnname, startrow=0, nrow=-1, rowincr=1) -> record *

Summary
get a specific column (for variable arrays)

Input Parameters:
columnname       Name of column 
startrow         First row to read (default 0) 0 
nrow             Number of rows to read (default -1 means till the end) -1 
rowincr          Increment in rows to read (default 1) 1 

--------------------------------------------------------------------------------

Definition at line 828 of file table.py.

Referenced by tests.test_smoothcal.smoothcal_test.test10(), tests.test_hanningsmooth.hanningsmooth_test.test6(), tests.test_hanningsmooth.hanningsmooth_test.test7(), and tests.test_hanningsmooth.hanningsmooth_test.test8().

def __casac__.table.table.haslock (   self,
  write = True 
)
haslock(self, write=True) -> bool

Summary
has this process a lock on the table?

Input Parameters:
write            Has it a write lock? (F=read lock) true 

--------------------------------------------------------------------------------

Definition at line 334 of file table.py.

info(self) -> record *

Summary
get the info record
--------------------------------------------------------------------------------

Definition at line 500 of file table.py.

def __casac__.table.table.iscelldefined (   self,
  args,
  kwargs 
)
iscelldefined(self, columnname, rownr=0) -> bool

Summary
test if a specific cell contains a value

Input Parameters:
columnname       Name of column 
rownr            Row number, starting at 0 0 

--------------------------------------------------------------------------------

Definition at line 759 of file table.py.

def __casac__.table.table.ismultiused (   self,
  checksubtables = False 
)
ismultiused(self, checksubtables=False) -> bool

Summary
is the table in use in another process?

Input Parameters:
checksubtables   check if subtables are multiused?) false 

--------------------------------------------------------------------------------

Definition at line 360 of file table.py.

def __casac__.table.table.isscalarcol (   self,
  args,
  kwargs 
)
isscalarcol(self, columnname) -> bool

Summary
is the specified column scalar?

Input Parameters:
columnname       Name of column 

--------------------------------------------------------------------------------

Definition at line 599 of file table.py.

def __casac__.table.table.isvarcol (   self,
  args,
  kwargs 
)
isvarcol(self, columnname) -> bool

Summary
tell if column contains variable shaped arrays

Input Parameters:
columnname       Name of column 

--------------------------------------------------------------------------------

Definition at line 614 of file table.py.

iswritable(self) -> bool

Summary
is the table writable?
--------------------------------------------------------------------------------

Definition at line 274 of file table.py.

keywordnames(self) -> std::vector< std::string >

Summary
get the names of all table keywords
--------------------------------------------------------------------------------

Definition at line 1150 of file table.py.

listlocks(self) -> bool

Summary
Lists any table lock associated with the current process
--------------------------------------------------------------------------------

Definition at line 1260 of file table.py.

def __casac__.table.table.lock (   self,
  write = True,
  nattempts = 0 
)
lock(self, write=True, nattempts=0) -> bool

Summary
acquire a lock on the table

Input Parameters:
write            Write lock? (F=read lock) true 
nattempts        Nr of attempts 0 

--------------------------------------------------------------------------------

Definition at line 296 of file table.py.

lockoptions(self) -> record *

Summary
get the lock options used for this table
--------------------------------------------------------------------------------

Definition at line 349 of file table.py.

name(self) -> string

Summary
return name of table on disk
--------------------------------------------------------------------------------

Definition at line 386 of file table.py.

ncols(self) -> int

Summary
return number of columns
--------------------------------------------------------------------------------

Definition at line 659 of file table.py.

nrows(self) -> int

Summary
return number of rows
--------------------------------------------------------------------------------

Definition at line 670 of file table.py.

def __casac__.table.table.ok (   self)
ok(self) -> bool

Summary
Is the table tool ok?
--------------------------------------------------------------------------------

Definition at line 1238 of file table.py.

def __casac__.table.table.open (   self,
  args,
  kwargs 
)
open(self, tablename=string(""), lockoptions=initialize_record("default"), nomodify=True) -> bool

Summary
open an existing table

Input Parameters:
tablename        
lockoptions      locking to be used default 
nomodify         true 

--------------------------------------------------------------------------------

Definition at line 134 of file table.py.

def __casac__.table.table.putcell (   self,
  args,
  kwargs 
)
putcell(self, columnname, rownr, thevalue) -> bool

Summary
put a specific cell

Input Parameters:
columnname       Name of column 
rownr            Row number(s) (0-relative) 
thevalue         Value 

--------------------------------------------------------------------------------

Definition at line 870 of file table.py.

def __casac__.table.table.putcellslice (   self,
  args,
  kwargs 
)
putcellslice(self, columnname, rownr, value, blc, trc, incr=initialize_vector(1, (int)1)) -> bool

Summary
put a slice into a specific cell

Input Parameters:
columnname       Name of column 
rownr            Row number, starting at 0 
value            Value 
blc              Bottom left corner (e.g. [0,0,0] is start of 3D array) 
trc              Top right corner 
incr             Stride (defaults to 1 for all axes) 1 

--------------------------------------------------------------------------------

Definition at line 887 of file table.py.

def __casac__.table.table.putcol (   self,
  args,
  kwargs 
)
putcol(self, columnname, value, startrow=0, nrow=-1, rowincr=1) -> bool

Summary
put a specific column

Input Parameters:
columnname       Name of column 
value            Array 
startrow         First row to put (default 0) 0 
nrow             Number of rows to put (default -1 means till the end) -1 
rowincr          Increment in rows to put (default 1) 1 

--------------------------------------------------------------------------------

Definition at line 907 of file table.py.

def __casac__.table.table.putcolkeyword (   self,
  args,
  kwargs 
)
putcolkeyword(self, columnname, keyword, value) -> bool

Summary
put a specific keyword for a column

Input Parameters:
columnname       Name of column 
keyword          Name or seqnr of keyword,string or int 
value            Value of keyword 

--------------------------------------------------------------------------------

Definition at line 1075 of file table.py.

def __casac__.table.table.putcolkeywords (   self,
  args,
  kwargs 
)
putcolkeywords(self, columnname, value) -> bool

Summary
put multiple keywords for a column

Input Parameters:
columnname       Name of column 
value            Record of keyword=value pairs 

--------------------------------------------------------------------------------

Definition at line 1092 of file table.py.

def __casac__.table.table.putcolslice (   self,
  args,
  kwargs 
)
putcolslice(self, columnname, value, blc, trc, incr=initialize_vector(1, (int)1), startrow=0, nrow=-1, 
    rowincr=1) -> bool

Summary
put a slice into a specific column

Input Parameters:
columnname       Name of column 
value            Array 
blc              Bottom left corner (e.g. [0,0,0] is start of 3D array) 
trc              Top right corner 
incr             Stride (defaults to 1 for all axes) 1 
startrow         First row to put (default 0) 0 
nrow             Number of rows to put (default -1 means till the end) -1 
rowincr          Increment in rows to put (default 1) 1 

--------------------------------------------------------------------------------

Definition at line 945 of file table.py.

def __casac__.table.table.putinfo (   self,
  args,
  kwargs 
)
putinfo(self, value) -> bool

Summary
set the info record

Input Parameters:
value            Info record 

--------------------------------------------------------------------------------

Definition at line 511 of file table.py.

def __casac__.table.table.putkeyword (   self,
  args,
  kwargs 
)
putkeyword(self, keyword, value, makesubrecord=False) -> bool

Summary
put a specific table keyword

Input Parameters:
keyword          Name or seqnr of keyword: string or int 
value            Value of keyword 
makesubrecord    Create intermediate records false 

--------------------------------------------------------------------------------

Definition at line 1043 of file table.py.

def __casac__.table.table.putkeywords (   self,
  args,
  kwargs 
)
putkeywords(self, value) -> bool

Summary
!!!BROKEN!!! put multiple table keywords

Input Parameters:
value            Record of keyword=value pairs 

--------------------------------------------------------------------------------

Definition at line 1060 of file table.py.

def __casac__.table.table.putvarcol (   self,
  args,
  kwargs 
)
putvarcol(self, columnname, value, startrow=0, nrow=-1, rowincr=1) -> bool

Summary
put a specific column (for variable arrays)

Input Parameters:
columnname       Name of column 
value            Record with values 
startrow         First row to put (default 0) 0 
nrow             Number of rows to put (default -1 means till the end) -1 
rowincr          Increment in rows to put (default 1) 1 

--------------------------------------------------------------------------------

Definition at line 926 of file table.py.

def __casac__.table.table.query (   self,
  args,
  kwargs 
)
query(self, query=string("String"), name=string(""), sortlist=string(""), columns=string(""), 
    style=string("")) -> table

Summary
Make a table from a query

Input Parameters:
query            Query string String 
name             Name of resulting reference table 
sortlist         Sort string (one or more expressions separated by commas) 
columns          List of column names separated by commas 
style            How to handle numeric ranges and order axes 

--------------------------------------------------------------------------------

Definition at line 449 of file table.py.

def __casac__.table.table.removecolkeyword (   self,
  args,
  kwargs 
)
removecolkeyword(self, columnname, keyword) -> bool

Summary
remove a specific keyword for a column

Input Parameters:
columnname       Name of column 
keyword          Name or seqnr of keyword: string or int 

--------------------------------------------------------------------------------

Definition at line 1123 of file table.py.

def __casac__.table.table.removecols (   self,
  args,
  kwargs 
)
removecols(self, columnames) -> bool

Summary
remove one or more columns

Input Parameters:
columnames       names of columns to be removed 

--------------------------------------------------------------------------------

Definition at line 744 of file table.py.

def __casac__.table.table.removekeyword (   self,
  args,
  kwargs 
)
removekeyword(self, keyword) -> bool

Summary
remove a specific table keyword

Input Parameters:
keyword          Name or seqnr of keyword: string or int 

--------------------------------------------------------------------------------

Definition at line 1108 of file table.py.

def __casac__.table.table.removerows (   self,
  args,
  kwargs 
)
removerows(self, rownrs) -> bool

Summary
remove the specified rows

Input Parameters:
rownrs           Row numbers to remove 

--------------------------------------------------------------------------------

Definition at line 696 of file table.py.

def __casac__.table.table.renamecol (   self,
  args,
  kwargs 
)
renamecol(self, oldname, newname) -> bool

Summary
rename a column

Input Parameters:
oldname          name of column to be renamed 
newname          new name of column 

--------------------------------------------------------------------------------

Definition at line 728 of file table.py.

resync(self) -> bool

Summary
resync the table tool with table file
--------------------------------------------------------------------------------

Definition at line 200 of file table.py.

def __casac__.table.table.rownumbers (   self,
  args,
  kwargs 
)
rownumbers(self, tab=initialize_record(""), nbytes=0) -> std::vector< int >

Summary
!!!INPUT PARAMETERS IGNORED!!! return the row numbers in the (reference) table

Input Parameters:
tab              Table to which the row numbers refer 
nbytes           Maximum cache size in bytes 0 

--------------------------------------------------------------------------------

Definition at line 567 of file table.py.

def __casac__.table.table.selectrows (   self,
  args,
  kwargs 
)
selectrows(self, rownrs, name=string("")) -> table

Summary
Make a table from a selection of rows

Input Parameters:
rownrs           0-based Row Numbers 
name             Name of resulting table 

--------------------------------------------------------------------------------

Definition at line 484 of file table.py.

def __casac__.table.table.setmaxcachesize (   self,
  args,
  kwargs 
)
setmaxcachesize(self, columnname, nbytes) -> bool

Summary
set maximum cache size for column in the table

Input Parameters:
columnname       Name of column 
nbytes           Maximum cache size in bytes 

--------------------------------------------------------------------------------

Definition at line 583 of file table.py.

def __casac__.table.table.showcache (   self,
  verbose = True 
)
showcache(self, verbose=True) -> std::vector< std::string >

Summary
show the contents of the table cache

Input Parameters:
verbose          true 

--------------------------------------------------------------------------------

Definition at line 1288 of file table.py.

def __casac__.table.table.statistics (   self,
  args,
  kwargs 
)
statistics(self, column, complex_value=string(""), useflags=True) -> record *

Summary
Get statistics on the selected table column

Input Parameters:
column           Column name 
complex_value    Which derived value to use for complex columns (amp, amplitude, phase, imag, real, imaginary) 
useflags         Use the data flags true 

--------------------------------------------------------------------------------

Definition at line 1271 of file table.py.

def __casac__.table.table.summary (   self,
  recurse = False 
)
summary(self, recurse=False) -> bool

Summary
summarize the contents of the table

Input Parameters:
recurse          Summarize subtables recursively false 

--------------------------------------------------------------------------------

Definition at line 541 of file table.py.

def __casac__.table.table.taql (   self,
  args,
  kwargs 
)
taql(self, taqlcommand=string("TaQL expression")) -> table

Summary
Make a table from a TaQL command. 

Input Parameters:
taqlcommand      TaQL expression> TaQL expression 

--------------------------------------------------------------------------------

Definition at line 434 of file table.py.

def __casac__.table.table.toasciifmt (   self,
  args,
  kwargs 
)
toasciifmt(self, asciifile, headerfile=string(""), columns=std::vector< string >(1, ""), sep=string("")) -> bool

Summary
Write casa table into an ASCII format 

Input Parameters:
asciifile        Name of ASCII file to be written 
headerfile       Name of an optional file defining the format 
columns          Names of columns to be written, default is all 
sep              Value separator, default is one blank 

--------------------------------------------------------------------------------

Definition at line 416 of file table.py.

unlock(self) -> bool

Summary
unlock and flush the table
--------------------------------------------------------------------------------

Definition at line 312 of file table.py.


Member Data Documentation

__casac__.table.table.__del__ [static, private]

Definition at line 83 of file table.py.

tuple __casac__.table.table.__getattr__ [static, private]

Definition at line 75 of file table.py.

__casac__.table.table.__repr__ [static, private]

Definition at line 76 of file table.py.

tuple __casac__.table.table.__setattr__ [static, private]

Definition at line 73 of file table.py.

Definition at line 82 of file table.py.

dictionary __casac__.table.table.__swig_getmethods__ [static, private]

Definition at line 74 of file table.py.

dictionary __casac__.table.table.__swig_setmethods__ [static, private]

Definition at line 72 of file table.py.

Definition at line 81 of file table.py.


The documentation for this class was generated from the following file: