quanta.getformat - Function

1.4.1 get current output format (NOT IMPLEMENTED YET!)
Description

getformat returns the current format value set for the different format possibilities. See the setformat function for the different format type descriptions. The known types are:
prec, aprec, tprec, long, lat, len, dtime, elev, auto, vel, freq, dop, unit.

Arguments





Inputs

t

type - coded string

allowed:

string

Default:

Returns
string

Example

"""  
#  
print "\t----\t getformat Ex 1 \t----"  
print qa.getformat(’prec’)  
#6  
#setformat is NOT IMPLEMENTED YET!  
#qa.setformat(’prec’, 12) # set precision to 12 significant digits  
#T  
#print qa.getformat(’prec’)  
#12  
print qa.getformat(’long’)  
#hms  
#  
"""

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search

Updated daily during alpha development.