def __casac__.table.table.__init__ | ( | self | ) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.addreadmeline | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.addrows | ( | self, | |
nrow = 1 |
|||
) |
def __casac__.table.table.browse | ( | self | ) |
def __casac__.table.table.calc | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.clearlocks | ( | self | ) |
def __casac__.table.table.close | ( | self | ) |
def __casac__.table.table.colarraytype | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.coldatatype | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.colkeywordnames | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.colnames | ( | self | ) |
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
def __casac__.table.table.datachanged | ( | self | ) |
def __casac__.table.table.done | ( | self | ) |
def __casac__.table.table.endianformat | ( | self | ) |
def __casac__.table.table.fieldnames | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.flush | ( | self | ) |
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
def __casac__.table.table.getcell | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
def __casac__.table.table.getcoldesc | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.getcolkeywords | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
def __casac__.table.table.getdesc | ( | self, | |
actual = True |
|||
) |
def __casac__.table.table.getdminfo | ( | self | ) |
def __casac__.table.table.getkeyword | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.getkeywords | ( | self | ) |
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 |
|||
) |
def __casac__.table.table.info | ( | self | ) |
def __casac__.table.table.iscelldefined | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.ismultiused | ( | self, | |
checksubtables = False |
|||
) |
def __casac__.table.table.isscalarcol | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.isvarcol | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.iswritable | ( | self | ) |
def __casac__.table.table.keywordnames | ( | self | ) |
def __casac__.table.table.listlocks | ( | self | ) |
def __casac__.table.table.lock | ( | self, | |
write = True , |
|||
nattempts = 0 |
|||
) |
def __casac__.table.table.lockoptions | ( | self | ) |
def __casac__.table.table.name | ( | self | ) |
def __casac__.table.table.ncols | ( | self | ) |
def __casac__.table.table.nrows | ( | self | ) |
def __casac__.table.table.ok | ( | self | ) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.putcell | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
def __casac__.table.table.putcolkeywords | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.putinfo | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.putkeywords | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
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 --------------------------------------------------------------------------------
def __casac__.table.table.removecols | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.removekeyword | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.removerows | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.renamecol | ( | self, | |
args, | |||
kwargs | |||
) |
def __casac__.table.table.resync | ( | self | ) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.selectrows | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.showcache | ( | self, | |
verbose = True |
|||
) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.summary | ( | self, | |
recurse = False |
|||
) |
def __casac__.table.table.taql | ( | self, | |
args, | |||
kwargs | |||
) |
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 --------------------------------------------------------------------------------
def __casac__.table.table.unlock | ( | self | ) |
__casac__.table.table.__del__ [static, private] |
tuple __casac__.table.table.__getattr__ [static, private] |
__casac__.table.table.__repr__ [static, private] |
tuple __casac__.table.table.__setattr__ [static, private] |
__casac__.table.table.__swig_destroy__ [static, private] |
dictionary __casac__.table.table.__swig_getmethods__ [static, private] |
dictionary __casac__.table.table.__swig_setmethods__ [static, private] |