From: <li...@us...> - 2009-02-10 09:47:15
|
Revision: 609 http://pyphant.svn.sourceforge.net/pyphant/?rev=609&view=rev Author: liehr Date: 2009-02-10 09:47:07 +0000 (Tue, 10 Feb 2009) Log Message: ----------- Added Parsec as unit. Modified Paths: -------------- trunk/src/pyphant/pyphant/quantities/PhysicalQuantities.py Modified: trunk/src/pyphant/pyphant/quantities/PhysicalQuantities.py =================================================================== --- trunk/src/pyphant/pyphant/quantities/PhysicalQuantities.py 2009-02-05 14:22:53 UTC (rev 608) +++ trunk/src/pyphant/pyphant/quantities/PhysicalQuantities.py 2009-02-10 09:47:07 UTC (rev 609) @@ -802,6 +802,7 @@ _addUnit('Ang', '1.e-10*m', 'Angstrom') _addUnit('lyr', 'c*yr', 'light year') _addUnit('AU', '149597870691*m', 'astronomical unit') +_addUnit('pc', '3.08567758128E16*m','parsec') _addUnit('Bohr', '4*pi*eps0*hbar**2/me/e**2', 'Bohr radius') # Area units This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |