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 foe and Bethe units #521

Merged
merged 3 commits into from
Oct 2, 2024
Merged

add foe and Bethe units #521

merged 3 commits into from
Oct 2, 2024

Conversation

zingale
Copy link
Member

@zingale zingale commented Sep 28, 2024

these are used in supernovae

see: https://en.wikipedia.org/wiki/Foe_(unit)

@neutrinoceros neutrinoceros added the enhancement New feature or request label Oct 2, 2024
@@ -428,6 +429,8 @@
),
# misc
("eV", (J_per_eV, dimensions.energy, 0.0, r"\rm{eV}", True)),
("foe", (J_per_foe, dimensions.energy, 0.0, r"\rm{foe}", False)),
("bethe", (J_per_foe, dimensions.energy, 0.0, r"\rm{B}", False)),
Copy link
Member

Choose a reason for hiding this comment

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

This is correct, but looks like a mistake. Can you add a comment to reassure future readers that yes, 1 foe = 1 bethe ?

Copy link
Member Author

Choose a reason for hiding this comment

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

comment added

@neutrinoceros neutrinoceros merged commit f6b9011 into yt-project:main Oct 2, 2024
9 checks passed
@zingale zingale deleted the foe branch October 2, 2024 12:02
@neutrinoceros neutrinoceros added this to the 3.0.4 milestone Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants