Fix unit representation #1991
Unanswered
fbordignon
asked this question in
Q&A
Replies: 1 comment 2 replies
-
thisis possible with a custom format in the master branch (from github, not released on pypi yet) do post the code you make for acoustic impediance, it would be a good example for the docs. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I would like to fix a unit representation the way I choose. For example Acoustic Impedance is often written as Density * Velocity (g/cm3 * m/s) Keeping that order for the unit is nice because people look at it and see density at the first term (g/cm3) and velocity (m/s) at the second. How can I fix that when printing the unit?
I always get
gram * meter / centimeter ** 3 / second
which is the same but not quite intuitive.Thanks
Beta Was this translation helpful? Give feedback.
All reactions