Skip to content

Commit

Permalink
Fix error in ER yields, always check your inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
josh0-jrg committed Sep 26, 2024
1 parent 982a636 commit c9f0b23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flamedisx/nest/lxe_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def mean_yield_electron(self, energy):
m3=0.6050
m4= 2.14687
m5=25.721
m6=-1.0
m6=0. #-1.0 #<--- not used
m7=59.651
m8=3.6869
m9=0.2872
Expand All @@ -239,7 +239,6 @@ def mean_yield_electron(self, energy):

Nq = energy * 1e3 / Wq_eV


Qy = m1 + (m2 - m1) / pow((1. + pow(energy /m3,m4)),m9) + \
m5 + (m6 - m5) / pow((1. + pow(energy /m7, m8)), m10)

Expand Down

0 comments on commit c9f0b23

Please sign in to comment.