Closed jchodera closed 9 years ago
I would like to look for a comparison of some available python libraries that serve this purpose, but regardless it is probably worth opening an issue for this. I did find an article here that compares 3 of them (http://www.drdobbs.com/jvm/quantities-and-units-in-python/240161101).
Based on the discussion in openmm, I actually think it might be useful to compare features of different python packages that deal with units and see how simtk.unit compares. From the sound of it, openmm will be maintaining its own version regardless. If there are packages that do it better than simtk.unit, it might be more useful to be familiar with those or even contribute features that we'd like to see.
Agreed.
FAQ for pint lists more packages that may be worth looking at: http://pint.readthedocs.org/en/0.5.1/faq.html
Will mention that I really like pint so far. Solid library, lots of tests. Good coverage (https://coveralls.io/r/hgrecco/pint). Has numpy support! http://pint.readthedocs.org/en/0.5.1/numpy.html
I'm going to implement pint
instead of simtk.unit here soon. Should be an easy conversion.
We currently use
simtk.unit
, but it would be better if we didn't need the OpenMM molecular simulation package for this.Should we suggest that
simtk.unit
be split out on the OpenMM issue tracker?