Skip to content

Commit

Permalink
Update src/eko/constants.py
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Hekhorn <[email protected]>
  • Loading branch information
niclaurenti and felixhekhorn authored Jan 10, 2024
1 parent bc956e2 commit 88c4dcc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/eko/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,19 @@ def charge_combinations(nf):

@nb.njit(cache=True)
def lepton_number(q2):
"""Compute the number of up flavors.
"""Compute the number of leptons.
at the moment we never go below 1 GeV so we don't need muon and electron
Note: at the moment we never go below 1 GeV so we don't need muon and electron.
Parameters
----------
q : float
energy
q2 : float
scale
Returns
-------
nl : int
int :
Number of leptons
"""
return 3 if q2 > MTAU**2 else 2

0 comments on commit 88c4dcc

Please sign in to comment.