Skip to content

Commit

Permalink
fix integrability fk 2
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Mar 10, 2023
1 parent bb1e334 commit 63af934
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pineko/evolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ def write_operator_card(pineappl_grid, default_card, card_path, tcard):
operators_card["configs"]["scvar_method"] = sv_method
q2_grid = (xif * xif * muf2_grid).tolist()
operators_card["_mugrid"] = np.sqrt(q2_grid).tolist()
if "integrability_version" in pineappl_grid.key_values():
x_grid = np.append(x_grid,1.0)
operators_card["configs"]["interpolation_polynomial_degree"] = 1
operators_card["rotations"]["xgrid"] = x_grid.tolist()

with open(card_path, "w", encoding="UTF-8") as f:
yaml.safe_dump(operators_card, f)
Expand Down

0 comments on commit 63af934

Please sign in to comment.