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.touvw - Function Up: measures - Tool Previous: measures.radialvelocity - Function


measures.uvw - Function



Package general
Module measures
Tool measures


define a uvw measure


Synopsis
uvw(rf, v0, v1, v2, off)


Arguments

rf in reference code
    Allowed: coded string
v0 in longitude or x
    Allowed: quantity
    Default: 0..
v1 in latitude or y
    Allowed: quantity
v2 in height or z
    Allowed: quantity
off in optional offset
    Allowed: uvw measure
    Default: F


Returns
uvw measure


Description
uvw defines a uvw measure from the CLI. It has to specify a reference code, uvw quantity values (see introduction for the action on a scalar quantity with either a vector or scalar value, and when a vector of quantities is given), and optionally it can specify an offset, which in itself has to be a uvw. Allowable reference codes are ITRF and the direction ones.
Note that additional ones may become available. Check in Glish with:
- dm.listcodes(dm.uvw())            
[normal=J2000 JMEAN JTRUE APP B1950 BMEAN BTRUE GALACTIC HADEC AZEL
        AZELSW AZELNE AZELGEO AZELSWGEO AZELNEGEO JNAT ECLIPTIC
        MECLIPTIC TECLIPTIC SUPERGAL ITRF TOPO, extra=]
The uvw quantity values should be either longitude (angle), latitude(angle) and height(length); or x,y,z (length). See quantity for possible angle formats.



Example
- dm.uvw('itrf','30deg','40deg','10m')
[type=uvw, refer=ITRF, m2=[value=10, unit=m], m1=[unit=rad,
	   value=0.698131701], m0=[unit=rad, value=0.523598776]]
- dm.measure(dm.uvw('itrf','30deg','40deg','10m'), 'j2000')
[type=uvw, refer=J2000, m2=[value=10, unit=m],
	    m1=[unit=rad, value=0.698073433],
	     m0=[unit=rad, value=-1.74254263]]





next up previous contents index
Next: measures.touvw - Function Up: measures - Tool Previous: measures.radialvelocity - 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