[SciPy-dev] Temperature (and other unit) conversions

Alexandre Fayolle alexandre.fayolle at logilab.fr
Tue Dec 19 10:46:26 CST 2006


On Tue, Dec 19, 2006 at 04:30:57PM +0000, Adam Curtis wrote:
> I think an interesting way too approach unit conversions would be to make 
> actual unit classes (for example: a Temperature class), which would inherit 
> from float and would keep track of what unit was being used so that it could 
> seemlessly convert units together during arithmetic operations of differing 
> unit.

There's something for unit management in scientific-python, by Konrad
Hinsen. 

 

-- 
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science
Reprise et maintenance de sites CPS:     http://www.migration-cms.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
Url : http://projects.scipy.org/pipermail/scipy-dev/attachments/20061219/46a8e882/attachment.bin 


More information about the Scipy-dev mailing list