eko.quantities package

Physical and internal objects.

This subpackage contains the definitions of many objects, with the purpose of using them as type hints, but not only (at least for some of them).

Few related functions are also defined here.

Submodules

eko.quantities.couplings module

Types and quantities related to theory couplings.

class eko.quantities.couplings.CouplingsInfo(alphas: float, alphaem: float, ref: Tuple[float, int], em_running: bool = False)[source]

Bases: DictLike

Reference values for coupling constants.

alphas: float

Reference QCD coupling \(\alpha_s(\mu_R^0)^{(n_f^0)}\).

Note

We refer to \(\alpha_s\) here instead of \(a_s = \alpha_s/(4\pi)\) as we do otherwise.

alphaem: float

Reference QED coupling \(\alpha_{em}(\mu_R^0)^{(n_f^0)}\).

ref: Tuple[float, int]

Reference evolution point \((\mu_R^0,n_f^0)\)

em_running: bool = False

If set, activates the QED running.

property values

Collect only couplings values.

class eko.quantities.couplings.CouplingEvolutionMethod(value)[source]

Bases: Enum

Beta functions solution method.

EXACT = 'exact'
EXPANDED = 'expanded'

eko.quantities.heavy_quarks module

Heavy quarks related quantities.

class eko.quantities.heavy_quarks.HeavyQuarks(args: Sequence[T])[source]

Bases: list, Generic[T]

Access heavy quarks attributes by name.

property c: T

Charm quark.

property b: T

Bottom quark.

property t: T

Top quark.

eko.quantities.heavy_quarks.HeavyQuarkMasses

alias of HeavyQuarks[ReferenceRunning[float]]

eko.quantities.heavy_quarks.MatchingRatios

alias of HeavyQuarks[float]

eko.quantities.heavy_quarks.MatchingScales

alias of HeavyQuarks[float]

class eko.quantities.heavy_quarks.QuarkMassScheme(value)[source]

Bases: Enum

Scheme to define heavy quark masses.

MSBAR = 'msbar'
POLE = 'pole'
class eko.quantities.heavy_quarks.HeavyInfo(masses: HeavyQuarks[ReferenceRunning[float]], masses_scheme: QuarkMassScheme, matching_ratios: HeavyQuarks[float])[source]

Bases: DictLike

Collect information about heavy quarks.

This is meant to be used mainly as a theory card section, and to be passed around when all or a large part of this information is required.

Note

All scales and ratios in this structure are linear, so you can consider them as quantities in \(GeV\) or ratios of them.

masses: HeavyQuarks[ReferenceRunning[float]]

List of heavy quark masses.

masses_scheme: QuarkMassScheme

Scheme used to specify heavy quark masses.

matching_ratios: HeavyQuarks[float]

Matching scale of heavy quark masses.

property squared_ratios: List[float]

Squared ratios of matching scales.