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

Units of distance in job document not clear. #31

Open
JimmyRushing opened this issue Feb 21, 2022 · 3 comments
Open

Units of distance in job document not clear. #31

JimmyRushing opened this issue Feb 21, 2022 · 3 comments

Comments

@JimmyRushing
Copy link
Contributor

Morphct requires that the distances are in angstrom so I checked the job document and it shows the following, which I believe is angstroms:

Screen Shot 2022-02-21 at 2 20 51 PM

@chrisjonesBSU
Copy link
Member

The screen shot doesn't show the rest of the reference values, and other values with units in the job doc, but the units for all of the other values seem to be pretty straight forward, except for ref_distance.

@JimmyRushing
Copy link
Contributor Author

Screen Shot 2022-02-21 at 2 24 52 PM

@jennyfothergill
Copy link
Member

ref_distance is in angstroms. If you use planckton.utils.units.string_to_quantity, it'll convert that string to a unyt quantity which is really nice for doing math with units.

If you wanted to make a PR to add documentation or an example, that would be great. :)

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