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.canon - Function Up: quanta - Tool Previous: quanta.getunit - Function


quanta.canonical - Function



Package general
Module quanta
Tool quanta


get canonical value of quantity


Synopsis
canonical(v)


Arguments

v in value to convert
    Allowed: quantity or string
    Default: '1'


Returns
quantity


Description
canonical (with alias canon) gets the canonical value of a quantity



Example
- dq.canonical('1Jy')			# canonical value of a string
[value=1e-26, unit=kg.s-2] 
- dq.canon(dq.quantity('1Jy'))		# canonical value of a unit
[value=1e-26, unit=kg.s-2]





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