Is there a standard pythonic way to treat physical units / quantities in python?
-
19-09-2019 - |
Question
Is there a standard pythonic way to treat physical units / quantities in python? I saw different module-specific solutions from different fields like physics or neuroscience. But I would rather like to use a standard method than "island"-solutions as others should be able to easily read my code.
Solution
The best solution is the Unum package. a de-facto standard, imho.
OTHER TIPS
quantities seems to be gaining a lot of traction lately.
I've been looking at the Enthought Units module
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow