Skip to content

Commit b498e58

Browse files
committed
finalize rebase
1 parent 7165989 commit b498e58

File tree

4 files changed

+26
-36
lines changed

4 files changed

+26
-36
lines changed

n3fit/src/evolven3fit/cli.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def cli_evolven3fit(
5-
configuration_folder, q_fin, q_points, op_card_info, theory_card_info, force, load, dump,
5+
configuration_folder, q_fin, q_points, op_card_info, theory_card_info, force, load, dump
66
):
77
"""Evolves the fitted PDFs.
88
@@ -23,12 +23,5 @@ def cli_evolven3fit(
2323
"""
2424
utils.check_is_a_fit(configuration_folder)
2525
return evolve.evolve_fit(
26-
configuration_folder,
27-
q_fin,
28-
q_points,
29-
op_card_info,
30-
theory_card_info,
31-
force,
32-
load,
33-
dump,
26+
configuration_folder, q_fin, q_points, op_card_info, theory_card_info, force, load, dump
3427
)

n3fit/src/evolven3fit/eko_utils.py

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -174,30 +174,27 @@ def build_opcard(op_card_dict, theory, x_grid, mu0, mugrid):
174174
if op_card_dict is None:
175175
op_card_dict = {}
176176

177-
# Taken from cards.py https://github.com/NNPDF/eko/blob/master/src/ekobox/cards.py
178-
# 7735fdb
177+
# Taken from cards.py https://github.com/NNPDF/eko/blob/master/src/ekobox/cards.py
178+
# 7735fdb
179179
op_card = dict(
180-
init=(1.65, 4),
181-
mugrid=[(100.0, 5)],
182-
xgrid=np.geomspace(1e-7, 1.0, 50).tolist(),
183-
configs=dict(
180+
init=(1.65, 4),
181+
mugrid=[(100.0, 5)],
182+
xgrid=np.geomspace(1e-7, 1.0, 50).tolist(),
183+
configs=dict(
184184
# These three values might be set by op_card_dict
185-
ev_op_iterations=10,
186-
n_integration_cores=1,
187-
polarized=False,
185+
ev_op_iterations=10,
186+
n_integration_cores=1,
187+
polarized=False,
188188
#
189-
ev_op_max_order=[10, 0],
190-
interpolation_polynomial_degree=4,
191-
interpolation_is_log=True,
192-
scvar_method=None,
193-
inversion_method=None,
194-
evolution_method="iterate-exact",
195-
time_like=False,
196-
),
197-
debug=dict(
198-
skip_singlet=False,
199-
skip_non_singlet=False,
200-
),
189+
ev_op_max_order=[10, 0],
190+
interpolation_polynomial_degree=4,
191+
interpolation_is_log=True,
192+
scvar_method=None,
193+
inversion_method=None,
194+
evolution_method="iterate-exact",
195+
time_like=False,
196+
),
197+
debug=dict(skip_singlet=False, skip_non_singlet=False),
201198
)
202199

203200
op_card["init"] = (mu0, theory["nf0"])

n3fit/src/evolven3fit/evolve.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from eko import basis_rotation, runner
1212
from eko.interpolation import XGrid
1313
from eko.io import manipulate
14-
from eko import basis_rotation, runner
1514
from validphys.utils import yaml_safe
1615

1716
from . import eko_utils, utils

n3fit/src/evolven3fit/q2grids.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
"""
2-
Definition of default Q2 grids
2+
Definition of default Q2 grids
33
4-
This file includes:
4+
This file includes:
55
6-
``Q2GRID_DEFAULT``: default NNPDF Q2 grid for evolution (55 points, starts at Q=1GeV)
7-
``Q2GRID_NNPDF40``: q2 grid used in the fits for the NNPDF4.0 release (49 points, starts at Q=1.65 GeV)
8-
``Q2GRID_Nf03``: q2 grid used in the perturvative charm fits for the NNPDF4.0 release (48 points, starts at Q=1GeV)
6+
``Q2GRID_DEFAULT``: default NNPDF Q2 grid for evolution (55 points, starts at Q=1GeV)
7+
``Q2GRID_NNPDF40``: q2 grid used in the fits for the NNPDF4.0 release (49 points, starts at Q=1.65 GeV)
8+
``Q2GRID_Nf03``: q2 grid used in the perturvative charm fits for the NNPDF4.0 release (48 points, starts at Q=1GeV)
99
"""
10+
1011
import numpy as np
1112

1213
Q2GRID_NNPDF40 = (

0 commit comments

Comments
 (0)