Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
pyhyperiso.core.BusinessLogic.ObservableInterface Namespace Reference

Classes

class  ObservableInterface
 

Functions

 _require (value, typ, str name)
 
 _cpp_observable_enum (Observables obs)
 
 _cpp_observable_id (ObservableId obs)
 
 _cpp_binned_observable_id (BinnedObservableId obs)
 
Tuple[float, float] _cpp_bin (Sequence[float] bin_range)
 
 _cpp_qcd_order (QCDOrder order)
 
 _cpp_decay (Decays decay)
 
 _cpp_uncertainty_type (UncertaintyType u_type)
 
 _cpp_param_id (ParamId pid)
 
ParamId _param_from_cpp (cpp_obj)
 
int _single_lha_code (LhaID code)
 

Detailed Description

Python wrapper for the observable computation interface.

This module exposes a Pythonic facade over the C++ ``ObservableInterface``.
It lets users select observables, compute theory predictions, inspect
experimental inputs, manage observable dependencies, and update parameters
used by the observable layer.

The public API accepts and returns Python wrapper objects only. Conversion to
and from the pybind11 objects is intentionally kept inside this module.

Example:
    >>> from pyhyperiso.core.BusinessLogic.ObservableInterface import ObservableInterface
    >>> from pyhyperiso.core.Common.GeneralEnum import Observables, QCDOrder
    >>> oi = ObservableInterface()
    >>> oi.add_observable(Observables.BR_BS_MUMU, QCDOrder.NNLO, add_dependencies=True)
    >>> values = oi.compute_observable(Observables.BR_BS_MUMU)
    >>> central = oi.compute_observable_central(Observables.BR_BS_MUMU)

Function Documentation

◆ _cpp_bin()

Tuple[float, float] pyhyperiso.core.BusinessLogic.ObservableInterface._cpp_bin ( Sequence[float]  bin_range)
protected

Definition at line 61 of file ObservableInterface.py.

◆ _cpp_binned_observable_id()

pyhyperiso.core.BusinessLogic.ObservableInterface._cpp_binned_observable_id ( BinnedObservableId  obs)
protected

Definition at line 57 of file ObservableInterface.py.

◆ _cpp_decay()

pyhyperiso.core.BusinessLogic.ObservableInterface._cpp_decay ( Decays  decay)
protected

Definition at line 75 of file ObservableInterface.py.

◆ _cpp_observable_enum()

pyhyperiso.core.BusinessLogic.ObservableInterface._cpp_observable_enum ( Observables  obs)
protected

Definition at line 49 of file ObservableInterface.py.

◆ _cpp_observable_id()

pyhyperiso.core.BusinessLogic.ObservableInterface._cpp_observable_id ( ObservableId  obs)
protected

Definition at line 53 of file ObservableInterface.py.

◆ _cpp_param_id()

pyhyperiso.core.BusinessLogic.ObservableInterface._cpp_param_id ( ParamId  pid)
protected

Definition at line 83 of file ObservableInterface.py.

◆ _cpp_qcd_order()

pyhyperiso.core.BusinessLogic.ObservableInterface._cpp_qcd_order ( QCDOrder  order)
protected

Definition at line 71 of file ObservableInterface.py.

◆ _cpp_uncertainty_type()

pyhyperiso.core.BusinessLogic.ObservableInterface._cpp_uncertainty_type ( UncertaintyType  u_type)
protected

Definition at line 79 of file ObservableInterface.py.

◆ _param_from_cpp()

ParamId pyhyperiso.core.BusinessLogic.ObservableInterface._param_from_cpp (   cpp_obj)
protected

Definition at line 87 of file ObservableInterface.py.

◆ _require()

pyhyperiso.core.BusinessLogic.ObservableInterface._require (   value,
  typ,
str  name 
)
protected

Definition at line 43 of file ObservableInterface.py.

◆ _single_lha_code()

int pyhyperiso.core.BusinessLogic.ObservableInterface._single_lha_code ( LhaID  code)
protected

Definition at line 91 of file ObservableInterface.py.