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

Passing values as objects with units attached #3

Open
cmflannery opened this issue Nov 26, 2017 · 1 comment
Open

Passing values as objects with units attached #3

cmflannery opened this issue Nov 26, 2017 · 1 comment
Assignees

Comments

@cmflannery
Copy link
Owner

It would be cool to be able to pass objects instead of just floats or ints that include the variables units. This would make it much easier to read and follow, and much less likely to produce weird answers due to unit mismatch. I think astropy might have something like this. Leaving this here as something to look into down the road.

@cmflannery cmflannery self-assigned this Nov 26, 2017
@codeflight1
Copy link
Contributor

Maybe this could work: https://pypi.org/project/units/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants