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


next up previous contents index
Next: measures.measure - Function Up: measures - Tool Previous: measures.asbaseline - Function


measures.listcodes - Function



Package general
Module measures
Tool measures


get known reference codes


Synopsis
listcodes(ms)


Arguments

ms in the measure type for which to list
    Allowed: a measure


Returns
record with two string vectors


Description
listcodes will produce the known reference codes for a specified measure type. It will return a record with two entries. The first is a string vector of all normal codes; the second a string vector (maybe empty) with all extra codes (like planets).



Example
# Generate some direction
# Note that an empty or non-specified reference code will produce the
# measure with the default code for that measure type
- a:=dm.direction()
- dm.getref(a)      
J2000 
- is_measure(a)
T 
# Get the known reference codes for direction
- dm.listcodes(a)
[normal=J2000 JMEAN JTRUE APP B1950 BMEAN BTRUE GALACTIC HADEC AZEL AZELSW
	AZELNE JNAT ECLIPTIC MECLIPTIC TECLIPTIC SUPERGAL ITRF TOPO, 
	extra=MERCURY VENUS MARS JUPITER SATURN URANUS NEPTUNE
		       PLUTO SUN MOON COMET]





next up previous contents index
Next: measures.measure - Function Up: measures - Tool Previous: measures.asbaseline - 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-08-01