Skip to content

Commit

Permalink
Rename varibles in find_nf
Browse files Browse the repository at this point in the history
  • Loading branch information
niclaurenti committed Jul 19, 2023
1 parent 70b37e9 commit 139dfb5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions n3fit/src/evolven3fit_new/eko_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,14 @@ def build_opcard(op_card_dict, theory, x_grid, mu0, mugrid):
return op_card


def find_nf(mu0, theory, thresholds):
"""compute nf0"""
if mu0 < theory["mc"] * thresholds["c"]:
nf0 = 3
elif mu0 < theory["mb"] * thresholds["b"]:
nf0 = 4
elif mu0 < theory["mt"] * thresholds["t"]:
nf0 = 5
def find_nf(mu, theory, thresholds):
"""compute nf for a given mu"""
if mu < theory["mc"] * thresholds["c"]:
nf = 3
elif mu < theory["mb"] * thresholds["b"]:
nf = 4
elif mu < theory["mt"] * thresholds["t"]:
nf = 5
else:
nf0 = 6
return nf0
nf = 6
return nf

0 comments on commit 139dfb5

Please sign in to comment.