Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenyutanchan committed Feb 25, 2024
1 parent 0c2523c commit ad7d5fa
Show file tree
Hide file tree
Showing 5 changed files with 14,551 additions and 13,794 deletions.
9 changes: 5 additions & 4 deletions SolarAxionPrimakoffFlux/Primakoff.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,22 @@ def transiation_rate(
):
r = normalized_solar_radius
nHe = solar_data.Sun_Helium_number_density_profile(r, unit)
ne = solar_data.Sun_proton_number_density_profile(r, unit)
np = ne - 2 * nHe
nH = solar_data.Sun_H1_number_density_profile(r, unit)
ne = nH + 2 * nHe
# np = ne - 2 * nHe
# np = ne = solar_data.Sun_proton_number_density_profile(r, unit)
g = 1e-10 / unit.GeV if g_aγ == "default" else g_aγ

if Debye_effect:
T = solar_data.Sun_temperature_profile(r, unit)
ks_sqr = 4 * π * unit.α_EM * (np + ne + 2**2 * nHe) / T
ks_sqr = 4 * π * unit.α_EM * (nH + ne + 2**2 * nHe) / T
else:
ks_sqr = 0
# end if-else

X_dict = {
"e": {"mass": electron_mass(unit), "charge": -1, "density": ne},
"p": {"mass": proton_mass(unit), "charge": +1, "density": np},
"H": {"mass": proton_mass(unit), "charge": +1, "density": nH},
"He": {"mass": helium_mass(unit), "charge": +2, "density": nHe}
}

Expand Down
12 changes: 6 additions & 6 deletions main.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit ad7d5fa

Please sign in to comment.