On 23.03.2006, at 22:48, Ben Finney wrote: > "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > >> A Python class was designed to represent physical scalars and to >> eliminate errors involving implied physical units (e.g., confusing >> angular degrees and radians). > > This sounds like a useful abstraction; I'm not sure if there are > established ways to do this, but I'd like to see something like this > in PyPI.
Maybe not "established", but there are at least two packages with similar functionality that have been around for a while: ScientificPython (module Scientific.Physics.PhysicalQuantities): http://dirac.cnrs-orleans.fr/ScientificPython/ Unum http://sourceforge.net/projects/unum/ Konrad. -- ------------------------------------------------------------------------ ------- Konrad Hinsen Laboratoire Leon Brillouin (CEA-CNRS), CEA Saclay, 91191 Gif-sur-Yvette Cedex, France Tel.: +33-1 69 08 79 25 Fax: +33-1 69 08 82 61 E-Mail: [EMAIL PROTECTED] ------------------------------------------------------------------------ ------- -- http://mail.python.org/mailman/listinfo/python-list