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

Public Member Functions

 __init__ (self, cpp_obj)
 
bool has_block (self, str block)
 
Scalar get_val (self, str block, code)
 
int size (self)
 

Protected Attributes

 _cpp_obj
 

Detailed Description

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

Definition at line 86 of file WilsonInterface.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 89 of file WilsonInterface.py.

Member Function Documentation

◆ get_val()

Scalar pyhyperiso.core.PhysicalModel.WilsonInterface.BlockSrcView.get_val (   self,
str  block,
  code 
)
Return a block value as a ``Scalar`` wrapper.

Definition at line 96 of file WilsonInterface.py.

◆ has_block()

bool pyhyperiso.core.PhysicalModel.WilsonInterface.BlockSrcView.has_block (   self,
str  block 
)
Return whether a block exists in the view.

Definition at line 92 of file WilsonInterface.py.

◆ size()

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

Definition at line 102 of file WilsonInterface.py.

Member Data Documentation

◆ _cpp_obj

pyhyperiso.core.PhysicalModel.WilsonInterface.BlockSrcView._cpp_obj
protected

Definition at line 90 of file WilsonInterface.py.


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