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


next up previous contents index
Next: coordsys.toabs - Function Up: coordsys - Tool Previous: coordsys.summary - Function


coordsys.telescope - Function



Package general
Module images
Tool coordsys


Return the telescope


Synopsis
telescope(measure)


Arguments

measure in Return as position measure
    Allowed: T or F
    Default: F



Returns
String or position measure or fail


Description

This function (short-hand name t) returns the telescope contained in the Coordinate System. It can be returned as a simple string (measure=F) or as a position measure (measure=T).

The telescope position may be needed for reference code conversions; this is why it is maintained in the Coordinate System.

The conversion from string to position is done with observatory. The example shows you what is really going on.



Example
- cs := coordsys()
- cs.telescope()
ATCA
- cs.telescope(T)
[type=position, refer=ITRF, m2=[value=6372960.26, unit=m], 
m1=[unit=rad, value=-0.52613792], m0=[unit=rad, value=2.61014232]] 
-
- dm.observatory(cs.telescope())
[type=position, refer=ITRF, m2=[value=6372960.26, unit=m], 
m1=[unit=rad, value=-0.52613792], m0=[unit=rad, value=2.61014232]]
We get the telescope as a string and as a position measure. We also show how the Measures system was used to convert from the simple name to a position Measure.





next up previous contents index
Next: coordsys.toabs - Function Up: coordsys - Tool Previous: coordsys.summary - 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