|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
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 | |
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.
| pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonCoefficientConfig.__init__ | ( | self, | |
| WilsonCoefLike | coefficient | ||
| ) |
Definition at line 118 of file WilsonInterface.py.
| "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.
| pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonCoefficientConfig.to_cpp | ( | self | ) |
Return the bound C++ config object.
Definition at line 148 of file WilsonInterface.py.
|
protected |
Definition at line 119 of file WilsonInterface.py.