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

Updates to units section #158

Merged
merged 17 commits into from
Sep 12, 2023
Merged

Updates to units section #158

merged 17 commits into from
Sep 12, 2023

Conversation

jzuhone
Copy link
Contributor

@jzuhone jzuhone commented Aug 21, 2023

This is a rewrite and update of the symbolic units section.

Closes #80

Copy link
Member

@neutrinoceros neutrinoceros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haven't read through the whole thing yet, but here are a couple comments

content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved
@jzuhone
Copy link
Contributor Author

jzuhone commented Aug 23, 2023

@matthewturk I forgot to add a short bit on physical constants.

@neutrinoceros
Copy link
Member

Thanks John for taking my first comments into account ! I'll try to do a more thorough review by the end of the week.

Copy link
Member

@neutrinoceros neutrinoceros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for taking longer than anticipated, I finally had time to read it all !

content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved

### Creating YTArray and YTQuantity instances {#sec:creating-ytarray-and-ytquantity-instances}
Some physical constants are represented by Greek letters or other characters--these can be imported either using ASCII characters or
their non-ASCII representations:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be good to also demonstrate this part, as the non-ASCII names may not be obvious to the reader (they aren't to me)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

content/40.units_and_quantities.md Outdated Show resolved Hide resolved
content/40.units_and_quantities.md Outdated Show resolved Hide resolved
@matthewturk
Copy link
Member

@jzuhone I think this is good to go. I'm going to issue a followup PR that converts it back to semantic line-breaks.

@matthewturk matthewturk merged commit 6a4368f into yt-project:main Sep 12, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

Update units and quantities discussion to match and reference unyt
3 participants