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

Fix pmass #124

Merged
merged 3 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Correct proton mass.
  • Loading branch information
dtabell committed Jan 13, 2025
commit 77b5d2fd09b1c88702f36bc0607f9444a53c8626
2 changes: 1 addition & 1 deletion docs/src/constants_used.md
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ Constants are pulled from the NIST table of the **2022 CODATA release**. Note th

## Species Mass
#### Electron Mass: `m_electron` = 0.51099895069 * u"MeV/c^2"
#### Proton Mass: `m_proton` = 9.382720894300001e2 * u"eV/c^2"
#### Proton Mass: `m_proton` = 938.2720894300001 * u"MeV/c^2"
#### Neutron Mass: `m_neutron` = 9.395654219399999e2 * u"MeV/c^2"
#### Muon Mass: `m_muon` = 1.056583755e2 * u"MeV/c^2"
#### Helion Mass He3 nucleus: `m_helion` = 2.80839161112e3 * u"MeV/c^2"
4 changes: 2 additions & 2 deletions src/constants.jl
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@

const __b_m_electron = 0.51099895069 * u"MeV/c^2"
# Electron Mass [MeV]/c^2
const __b_m_proton = 9.382720894300001e2 * u"eV/c^2"
const __b_m_proton = 938.2720894300001 * u"MeV/c^2"
# Proton Mass [MeV]/c^2
const __b_m_neutron = 9.395654219399999e2 * u"MeV/c^2"
# Neutron Mass [MeV]/c^2
@@ -131,4 +131,4 @@ const __b_mu_0_vac = 1.25663706127e-6 * u"N/A^2";



#---------------------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------------------