Skip to content

Commit

Permalink
Correct EAS lenDec bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Areustle committed Jan 25, 2024
1 parent e6fb9d3 commit 3efe253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nuspacesim/simulation/eas_optical/eas.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def altDec(self, beta, tauBeta, tauLorentz, u=None, *args, **kwargs):

tDec = -tauLorentz * mean_Tau_life * np.log(u) # seconds

lenDec = 1000.0 * tDec * tauBeta * c.value # km
lenDec = 1e-3 * tDec * tauBeta * c.value # km

altDec = np.sqrt(
R_earth.to(units.km).value ** 2
Expand Down

0 comments on commit 3efe253

Please sign in to comment.