Skip to content

More consistently handle unit string constants #1404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tylerflex opened this issue Jan 26, 2024 · 0 comments
Open

More consistently handle unit string constants #1404

tylerflex opened this issue Jan 26, 2024 · 0 comments

Comments

@tylerflex
Copy link
Collaborator

tylerflex commented Jan 26, 2024

For example, what if we have an inverse micron, or a more complicated unit? We could standardize how we display the units and also perhaps replace the constants with just a set of rules to follow when defining units directly in the fields? eg.

Use abbreviated form of SI units, eg. (ps, nm).
Do not use greek letters (eg. um not μm)
Use asterisk to define multiplication (eg `um * N` not `um N`)
put parentheses when dealing with complicated fractions, eg (um * N)/(ps * kg)
For inverse units, use 1/x or x^(-1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant