There are a good number of packages that already handle calculation with units. Some support numpy arrays as well. It also has to feature automatic support for conversion. Perhaps we could use one of those?
My favorite at the moment is pint, but I'm listing other as well (top == good):
pint: Numpy support, SI-prefixes, long short names when printing, units definition file, contexts for conversion
There are a good number of packages that already handle calculation with units. Some support numpy arrays as well. It also has to feature automatic support for conversion. Perhaps we could use one of those?
My favorite at the moment is pint, but I'm listing other as well (top == good):
Any comments, suggestions?