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


next up previous contents index
Next: tablecomparer.compare - Function Up: tablecomparer - Tool Previous: tablecomparer.select - Function


tablecomparer.tolerance - Function



Package utility
Module table
Tool tablecomparer


Get the tolerance of the specified column


Synopsis
tolerance(col, tlabel)


Description
This function returns the tolerance of the specified column in the specified table as it was set by settolerance() (0 if no set tolerance applies to the specified column).



Arguments

col   The name of the column to get the tolerance of
    Allowed: A valid column name
    Default: None
tlabel   The label of the table or subtable in which this column is
    Allowed: A valid table label
    Default: '' (the top level table)


Returns
T


Example
- tc := tablecomparer('test.table','fiducial.table')
- tol := [=];
- tol.TABLE.DCOL := 1e-8;
- tol.GTABLE.GCOL := 1e-5;
- tc.setprecision(double=1e-9, cols=tol);
- tc.tolerance('DCOL')
1e-8
- tc.tolerance('GCOL','GTABLE')
1e-05
- # CCOL is a column of type double
- tc.tolerance('CCOL')
1e-9
- # HCOL is a column of type float
- tc.tolerance('HCOL')
0





next up previous contents index
Next: tablecomparer.compare - Function Up: tablecomparer - Tool Previous: tablecomparer.select - 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