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

Classes

class  DependencyPruner
 

Detailed Description

High-level Python wrapper for dependency pruning operations.

This module wraps the bound C++ ``DependencyPruner`` adapter. It provides a
small Python-friendly façade for detaching and reattaching dependent blocks or
individual dependent parameters from their upstream dependencies.

The Hyperiso core must be initialized before using this wrapper, typically via
``HyperisoMaster.init(...)``, because the underlying C++ adapter delegates to
``Parameters::GetInstance(...)``.

Example:
    >>> pruner = DependencyPruner()
    >>> pruner.detach_block(ParameterType.SM, "EW")
    >>> pruner.reattach_block(ParameterType.SM, "EW")