Skip to content
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

add "arbitrary units" in the list of units #168

Open
gulpgiulia opened this issue Dec 9, 2019 · 5 comments
Open

add "arbitrary units" in the list of units #168

gulpgiulia opened this issue Dec 9, 2019 · 5 comments

Comments

@gulpgiulia
Copy link

Looking at the list of available units, the only "neutral" label is "dimensionless", but it could be inopportune in cases when the quantity is not dimensionless (i.e. not obtained as the ratio of two homogeneous quantities) but rather not specified. For those case, "a.u." (arbitrary units) would be preferable.

@rgerkin
Copy link
Contributor

rgerkin commented Jan 21, 2020

It is easy to understand how you might take a dimensionless quantity and multiply by, say, volts. The result would also have the unit of volts. It's not clear what would happen if you multiply a.u. by volts.

Is there a use case where using "dimensionless" causes a concrete problem with math operations, or is more about just keeping track of the fact that the units are in fact arbitrary (for graphing the data and making axis labels, for instance)?

@ddale
Copy link
Member

ddale commented Jan 21, 2020

My first impression is that any operation involving arbitrary units should yield arbitrary units. a.u. x volts = a.u.

@gulpgiulia
Copy link
Author

gulpgiulia commented Jan 21, 2020

or is more about just keeping track of the fact that the units are in fact arbitrary (for graphing the data and making axis labels, for instance)?

This.

@rgerkin
Copy link
Contributor

rgerkin commented Jan 23, 2020

How would other operations be handled? If I add 3 a.u. and 5 mV, what should happen?

@gulpgiulia
Copy link
Author

My first impression is that any operation involving arbitrary units should yield arbitrary units. a.u. x volts = a.u.

I agree.

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

3 participants