Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
pyhyperiso.core.Core.QEDProvider.QEDProvider Class Reference

Public Member Functions

 __init__ (self)
 
 get_alphaem (self, AlphasConfig alpha_config)
 
 get_alpha_em (self, AlphasConfig alpha_config)
 

Protected Attributes

 _cpp_obj
 

Detailed Description

Compute QED/electroweak quantities through the bound C++ provider.

The provider expects the global Hyperiso state to have been initialized
before use, typically through ``HyperisoMaster.init(...)``. The numerical
implementation is delegated to the C++ ``EWHelper`` backend.

Note:
    At the C++ level, generic running through ``EWHelper::alpha_em``
    raises an explicit error because it is not implemented. The precomputed
    values of :math:`\alpha_{\mathrm{em}}` are stored in the ``EW`` block
    initialized by ``EWHelper::Init()``.

Example:
    >>> qed = QEDProvider()
    >>> alpha_em = qed.get_alphaem(AlphasConfig(91.1876))

Definition at line 11 of file QEDProvider.py.

Constructor & Destructor Documentation

◆ __init__()

pyhyperiso.core.Core.QEDProvider.QEDProvider.__init__ (   self)
Create a Python wrapper around the C++ ``QEDProvider``.

Definition at line 29 of file QEDProvider.py.

Member Function Documentation

◆ get_alpha_em()

pyhyperiso.core.Core.QEDProvider.QEDProvider.get_alpha_em (   self,
AlphasConfig  alpha_config 
)
Alias for :meth:`get_alphaem` using the conventional alpha_em spelling.

Definition at line 45 of file QEDProvider.py.

◆ get_alphaem()

pyhyperiso.core.Core.QEDProvider.QEDProvider.get_alphaem (   self,
AlphasConfig  alpha_config 
)
Compute the electromagnetic coupling for the requested configuration.

Args:
    alpha_config: Python configuration object describing the target
        scale and convertible to the C++ ``AlphasConfig``.

Returns:
    float: The value returned by ``QEDProvider::compute_alphaem``.

Definition at line 33 of file QEDProvider.py.

Member Data Documentation

◆ _cpp_obj

pyhyperiso.core.Core.QEDProvider.QEDProvider._cpp_obj
protected

Definition at line 31 of file QEDProvider.py.


The documentation for this class was generated from the following file: