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, scale: float, max_num_flavs: int, num_flavs_ref: int | None, em_running: bool = False)[source]

Bases: DictLike

Reference values for coupling constants.

Also includes further information, defining the run of the couplings.

alphas: float
alphaem: float
scale: float
max_num_flavs: int
num_flavs_ref: int | None

Number of active flavors at strong coupling reference scale.

I.e. \(n_{f,\text{ref}}(\mu^2_{\text{ref}})\), formerly called nfref.

em_running: bool = False
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(num_flavs_init: int, num_flavs_max_pdf: int, intrinsic_flavors: List[int], 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.

num_flavs_init: int

Number of active flavors at fitting scale.

I.e. \(n_{f,\text{ref}}(\mu^2_0)\), formerly called nf0.

num_flavs_max_pdf: int

Maximum number of quark PDFs.

intrinsic_flavors: List[int]

List of intrinsic quark PDFs.

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.