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


next up previous contents index
Next: quanta.quantity - Function Up: quanta - Tool Previous: quanta.convertfreq - Function


quanta.convertdop - Function



Package general
Module quanta
Tool quanta


convert a doppler velocity quantity to another unit


Synopsis
convertdop(v, out)


Arguments

v in quantity to convert
    Allowed: quantity or string
    Default: '0km/s'
out in unit to convert to
    Allowed: string or quantity
    Default: 'km/s'


Returns
quantity


Description
convertfreq converts a velocity quantity to another unit. Units are either velocity or dimensionless.



Example
- dq.convertdop('1','km/s')
[value=299792.458, unit=km/s] 
- dq.convertdop('10km/s','1') 
[value=3.33564095e-05, unit=]





next up previous contents index
Next: quanta.quantity - Function Up: quanta - Tool Previous: quanta.convertfreq - 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