[SciPy-dev] integration of Unum in scipy

Robert Kern robert.kern at gmail.com
Mon Feb 20 21:30:39 CST 2006


DE MENTEN Sebastien wrote:
> Hi,
> 
> I discovered one year ago Unum
> (http://home.tiscali.be/be052320/Unum.html), a very useful python
> package to deal with units (i.e. kg, MW, kV, …).
> 
> I subsequently used it in a power plant model where I could manipulate
> (+,-,/,* + conversion) various quantities like fuel (GJ), power (MW,
> MWh), efficiencies (MWh/GJ), half-life (hour) in a robust (ie consistent
> an error-free) way.
> 
> One weakness at that time was its integration with Numeric. Using
> functions such as sum, cumsum & co on Unum objects was not giving the
> ideal result. Today, with the added capabilities of ufuncs (namely
> array_wrap) this problem vanishes.

Well, I wouldn't say that the problem "vanishes" so much as "maybe becomes
tractable." Only experience will tell how tractable.

> Hence, it could make sense to integrate it nicely with scipy.

It would certainly be nice for Unum to be able to handle numpy arrays well.
However, we cannot accept Unum into scipy since it is GPLed.

-- 
Robert Kern
robert.kern at gmail.com

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the Scipy-dev mailing list