Skip to content

Commit

Permalink
Remove duplicated accounting for matching order
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Nov 22, 2023
1 parent 95299fd commit 18828b8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/eko/runner/parts.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
After #242, the goal is to update :class:`Operator` and
:class:`OperatorMatrixElement` to simplify the computation and passing down
parameters.
"""
import numpy as np

Expand All @@ -28,7 +27,6 @@ def managers(eko: EKO) -> dict:
.. todo::
Legacy interface, avoid managers usage.
"""
tcard = eko.theory_card
ocard = eko.operator_card
Expand Down Expand Up @@ -60,7 +58,6 @@ def blowup_info(eko: EKO) -> dict:
evolution history (to determine if evolution is backward in flavor,
irrespectively of happening for an increasing or decreasing interval in
scale at fixed flavor).
"""
return dict(intrinsic_range=[4, 5, 6], qed=eko.theory_card.order[1] > 0)

Expand All @@ -71,7 +68,6 @@ def evolve_configs(eko: EKO) -> dict:
.. todo::
Legacy interface, make use of a dedicated object.
"""
tcard = eko.theory_card
ocard = eko.operator_card
Expand All @@ -89,9 +85,7 @@ def evolve_configs(eko: EKO) -> dict:
ModSV=ocard.configs.scvar_method,
n3lo_ad_variation=tcard.n3lo_ad_variation,
# Here order is shifted by one, no QED matching is available so far.
matching_order=tcard.matching_order
if tcard.matching_order is not None
else (tcard.order[0] - 1, 0),
matching_order=tcard.matching_order,
)


Expand All @@ -116,7 +110,6 @@ def matching_configs(eko: EKO) -> dict:
.. todo::
Legacy interface, make use of a dedicated object.
"""
tcard = eko.theory_card
ocard = eko.operator_card
Expand All @@ -138,7 +131,6 @@ def match(eko: EKO, recipe: Matching) -> Operator:
All the operators are blown up to flavor basis, and they are saved and
joined in that unique basis. So, the only rotation used is towards that
basis, and encoded in the blowing up prescription.
"""
kthr = eko.theory_card.heavy.squared_ratios[recipe.hq - 4]
op = ome.OperatorMatrixElement(
Expand Down

0 comments on commit 18828b8

Please sign in to comment.