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

Public Member Functions

 __init__ (self, cpp_obj)
 
bool has (self, ParamId pid)
 
Scalar get_val (self, ParamId pid)
 
int size (self)
 

Protected Attributes

 _cpp_obj
 

Detailed Description

Python view over the C++ ``ParamSrc`` callback object.

Users should receive this wrapper in custom Wilson matching callbacks instead
of the raw pybind object.

Definition at line 61 of file WilsonInterface.py.

Constructor & Destructor Documentation

◆ __init__()

pyhyperiso.core.PhysicalModel.WilsonInterface.ParamSrcView.__init__ (   self,
  cpp_obj 
)

Definition at line 68 of file WilsonInterface.py.

Member Function Documentation

◆ get_val()

Scalar pyhyperiso.core.PhysicalModel.WilsonInterface.ParamSrcView.get_val (   self,
ParamId  pid 
)
Return a parameter value as a ``Scalar`` wrapper.

Definition at line 75 of file WilsonInterface.py.

◆ has()

bool pyhyperiso.core.PhysicalModel.WilsonInterface.ParamSrcView.has (   self,
ParamId  pid 
)
Return whether a parameter is available.

Definition at line 71 of file WilsonInterface.py.

◆ size()

int pyhyperiso.core.PhysicalModel.WilsonInterface.ParamSrcView.size (   self)
Return the number of parameters in this view.

Definition at line 81 of file WilsonInterface.py.

Member Data Documentation

◆ _cpp_obj

pyhyperiso.core.PhysicalModel.WilsonInterface.ParamSrcView._cpp_obj
protected

Definition at line 69 of file WilsonInterface.py.


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