Commonly Compared
Numericalunits
vs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Compatible with numpy and scipy
Pro Compatible with multiple calculation routines
Numericalunits can work with routines that are not written in Python. For example, you can have a routine that calculates integrals in C and you can pass it a quantity in units of velocity and integration ranges in units of time and numericalunits will calculate it and return a result in units of distance.
Pro Helps with writing readable code
When inputing and outputing data you specifically say what units they are in. This makes the code very self-documenting and readable
Cons
Con Output is not deterministic
Instead, you need to run the whole calculation (including the reset_units() part) twice. If you get the same final answers both times, then congratulations, all your calculations are almost guaranteed to pass dimensional analysis!
Commonly Compared
Numericalunits
vs
Alternative Products
