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

Classes

class  AdvancedStatisticConfig
 
class  StatisticConfig
 
class  StatisticLikelihoodMode
 
class  StatisticProgressMonitor
 
class  StatisticProgressSnapshot
 

Functions

 _require (value, typ, str name)
 
 _cpp_param_id (ParamId pid)
 
 _cpp_marginal_kind (MarginalKind kind)
 
 _cpp_copula_kind (CopulaKind kind)
 
 _cpp_likelihood_mode (StatisticLikelihoodMode mode)
 
 _cpp_experiment_obs (ExperimentObs obs)
 

Detailed Description

High-level configuration object for the statistic workflow.

``StatisticConfig`` is the Python entry point for configuring the bound C++
statistic manager. It mirrors the fields exposed by the pybind11
``StatisticConfig`` binding.

Function Documentation

◆ _cpp_copula_kind()

StatisticConfig._cpp_copula_kind ( CopulaKind  kind)
protected
Convert a Python ``CopulaKind`` wrapper to C++.

Args:
    kind: Python copula kind enum.

Returns:
    Bound C++ ``CopulaKind`` value.

Definition at line 156 of file StatisticConfig.py.

◆ _cpp_experiment_obs()

StatisticConfig._cpp_experiment_obs ( ExperimentObs  obs)
protected
Convert a Python ``ExperimentObs`` wrapper to C++.

Args:
    obs: Python experimental-observable wrapper.

Returns:
    Bound C++ ``ExperimentObs`` value.

Definition at line 184 of file StatisticConfig.py.

◆ _cpp_likelihood_mode()

StatisticConfig._cpp_likelihood_mode ( StatisticLikelihoodMode  mode)
protected
Convert a Python likelihood mode wrapper to C++.

Args:
    mode: Python likelihood backend enum.

Returns:
    Bound C++ ``StatisticLikelihoodMode`` value.

Definition at line 168 of file StatisticConfig.py.

◆ _cpp_marginal_kind()

StatisticConfig._cpp_marginal_kind ( MarginalKind  kind)
protected
Convert a Python ``MarginalKind`` wrapper to C++.

Args:
    kind: Python marginal kind enum.

Returns:
    Bound C++ ``MarginalKind`` value.

Definition at line 144 of file StatisticConfig.py.

◆ _cpp_param_id()

StatisticConfig._cpp_param_id ( ParamId  pid)
protected
Convert a Python ``ParamId`` wrapper to C++.

Args:
    pid: Python parameter identifier.

Returns:
    Bound C++ ``ParamId`` value.

Definition at line 132 of file StatisticConfig.py.

◆ _require()

StatisticConfig._require (   value,
  typ,
str  name 
)
protected
Validate that a value has the expected wrapper type.

Args:
    value: Value to validate.
    typ: Expected Python type.
    name: Human-readable argument name.

Returns:
    The validated value.

Raises:
    TypeError: If ``value`` is not an instance of ``typ``.

Definition at line 113 of file StatisticConfig.py.