Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: table.getcoldesc - Function Up: table - Tool Previous: table.colfieldnames - Function


table.getdesc - Function



Package utility
Module table
Tool table


get the table description


Synopsis
getdesc(actual)


Description
The table description is a Glish record that contains a complete description of the layout of the table (except for the number of rows). It can be used as a template in the creation of another table using the table constructor.
By default the actual table description is returned (thus telling the actual shapes and data managers used). It is also possible to get the table description used when creating the table.



Arguments

actual in actual table description?
    Allowed: Bool
    Default: T


Returns
Table description record


Example
  t:=table('tcal')
# successful readonly open of table  tcal :  9 columns, 33 rows
  t.getdesc()
# [StartTime=[valueType=double, dataManagerType=StandardStMan,
#     dataManagerGroup=StandardStman, option=5, maxlen=0, comment=],
#  StopTime=[valueType=double, dataManagerType=StandardStman,
#      dataManagerGroup=StandardStMan, option=5, maxlen=0, comment=],
#  Gain=[valueType=complex, dataManagerType=StandardStMan,
#      dataManagerGroup=StandardStMan, option=5, maxlen=0, comment=,
#      ndim=4, shape=[2 2 28 1] ],
#  SolutionOK=[valueType=boolean, dataManagerType=StandardStman,
#      dataManagerGroup=StandardStMan, option=5, maxlen=0, comment=],
#  Fit=[valueType=float, dataManagerType=StandardStMan,
#      dataManagerGroup=StandardStMan, option=5, maxlen=0, comment=],
#  FitWeight=[valueType=float, dataManagerType=StandardStMan,
#      dataManagerGroup=StandardStman, option=5, maxlen=0, comment=],
#  iSolutionOK=[valueType=boolean, dataManagerType=StandardStman,
#      dataManagerGroup=StandardStMan, option=5, maxlen=0, comment=,
#      ndim=2, shape=[28 1] ],
#  iFit=[valueType=float, dataManagerType=StandardStMan,
#      dataManagerGroup=StandardStman, option=5, maxlen=0, comment=,
#      ndim=2, shape=[28 1] ],
#  iFitWeight=[valueType=float, dataManagerType=StandardStMan,
#      dataManagerGroup=StandardStMan, option=5, maxlen=0, comment=,
#      ndim=2, shape=[28 1] ]]





next up previous contents index
Next: table.getcoldesc - Function Up: table - Tool Previous: table.colfieldnames - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15