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

Public Member Functions

 __init__ (self, WilsonCoefLike coefficient)
 
"CustomWilsonCoefficientConfig" set_matching (self, QCDOrder order, Sequence[ParamId]|Set[ParamId] sources, compute, ContributionType contribution=ContributionType.SM)
 
 to_cpp (self)
 

Protected Attributes

 _cpp_obj
 

Detailed Description

Python wrapper for one lambda-backed Wilson coefficient.

Args:
    coefficient: Dynamic coefficient id, builtin enum, or name/alias.

A matching lambda receives a C++ ``ParamSrc`` object. Use
``src.get_val(pid.to_cpp())`` or ``src.get_val(ParameterType.SM.value,
"SMINPUTS", 6)`` inside the callback.

Definition at line 107 of file WilsonInterface.py.

Constructor & Destructor Documentation

◆ __init__()

pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonCoefficientConfig.__init__ (   self,
WilsonCoefLike  coefficient 
)

Definition at line 118 of file WilsonInterface.py.

Member Function Documentation

◆ set_matching()

"CustomWilsonCoefficientConfig" pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonCoefficientConfig.set_matching (   self,
QCDOrder  order,
Sequence[ParamId] | Set[ParamId sources,
  compute,
ContributionType   contribution = ContributionType.SM 
)
Attach a matching lambda for one QCD order.

Args:
    order: QCD order of the matching contribution.
    sources: Parameter dependencies required by ``compute``.
    compute: Callable ``compute(src) -> float | complex``.
    contribution: SM/BSM component represented by this lambda.

Definition at line 121 of file WilsonInterface.py.

◆ to_cpp()

pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonCoefficientConfig.to_cpp (   self)
Return the bound C++ config object.

Definition at line 148 of file WilsonInterface.py.

Member Data Documentation

◆ _cpp_obj

pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonCoefficientConfig._cpp_obj
protected

Definition at line 119 of file WilsonInterface.py.


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