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.asbaseline - Function Up: measures - Tool Previous: measures.earthmagnetic - Function


measures.baseline - Function



Package general
Module measures
Tool measures


define a baseline measure


Synopsis
baseline(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: baseline measure
    Default: F


Returns
baseline measure


Description
baseline defines a baseline measure from the CLI. It has to specify a reference code, baseline 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 baseline. Allowable reference codes are ITRF and the direction ones.
Note that additional ones may become available. Check in Glish with:
- dm.listcodes(dm.baseline())
[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 baseline 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.baseline('itrf','30deg','40deg','10m')
[type=baseline, refer=ITRF, m2=[value=10, unit=m],
	 m1=[unit=rad, value=0.698131701], m0=[unit=rad, value=0.523598776]]
- dm.measure(dm.baseline('itrf','30deg','40deg','10m'), 'j2000')
[type=baseline, 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.asbaseline - Function Up: measures - Tool Previous: measures.earthmagnetic - 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