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

Public Member Functions

 __init__ (self, WilsonGroupLike group, float matching_scale=81.0, float hadronic_scale=4.8, QCDOrder order=QCDOrder.LO, ContributionType contribution=ContributionType.SM, str display_name="")
 
"CustomWilsonGroupConfig" add_coefficient (self, CustomWilsonCoefficientConfig coefficient)
 
"CustomWilsonGroupConfig" set_running (self, WilsonBasis basis, QCDOrder order, Mapping[ParameterType, Sequence[str]] sources, compute)
 
bool install_identity_running_if_empty (self)
 
None install_identity_running_if_empty (self, bool value)
 
 to_cpp (self)
 

Protected Attributes

 _cpp_obj
 

Detailed Description

Python wrapper for a lambda-backed Wilson group.

Args:
    group: Dynamic group id, builtin enum, or group name/alias.
    matching_scale: Matching scale in GeV.
    hadronic_scale: Hadronic/running scale in GeV.
    order: Maximum QCD order supplied by the group.
    contribution: Contribution component for the group.

Definition at line 153 of file WilsonInterface.py.

Constructor & Destructor Documentation

◆ __init__()

pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonGroupConfig.__init__ (   self,
WilsonGroupLike  group,
float   matching_scale = 81.0,
float   hadronic_scale = 4.8,
QCDOrder   order = QCDOrder.LO,
ContributionType   contribution = ContributionType.SM,
str   display_name = "" 
)

Definition at line 164 of file WilsonInterface.py.

Member Function Documentation

◆ add_coefficient()

"CustomWilsonGroupConfig" pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonGroupConfig.add_coefficient (   self,
CustomWilsonCoefficientConfig   coefficient 
)
Append a coefficient config to this group.

Definition at line 180 of file WilsonInterface.py.

◆ install_identity_running_if_empty() [1/2]

bool pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonGroupConfig.install_identity_running_if_empty (   self)
Whether C++ installs identity running if no running lambda is given.

Definition at line 224 of file WilsonInterface.py.

◆ install_identity_running_if_empty() [2/2]

None pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonGroupConfig.install_identity_running_if_empty (   self,
bool  value 
)
Enable or disable automatic identity running for an empty group.

Definition at line 229 of file WilsonInterface.py.

◆ set_running()

"CustomWilsonGroupConfig" pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonGroupConfig.set_running (   self,
WilsonBasis  basis,
QCDOrder  order,
Mapping[ParameterType, Sequence[str]]  sources,
  compute 
)
Attach a running lambda for one basis/order.

The callable receives ``(matching, block_src)`` and must return a mapping
``{WCoefId_cpp: scalar}``. For simple dev use cases, keep
``install_identity_running_if_empty=True`` and skip this method.

Definition at line 189 of file WilsonInterface.py.

◆ to_cpp()

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

Definition at line 233 of file WilsonInterface.py.

Member Data Documentation

◆ _cpp_obj

pyhyperiso.core.PhysicalModel.WilsonInterface.CustomWilsonGroupConfig._cpp_obj
protected

Definition at line 173 of file WilsonInterface.py.


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