code1#

class pyhf.interpolators.code1(histogramssets, subscribe=True)[source]#

Bases: object

The piecewise-exponential interpolation strategy.

\[\sigma_{sb} (\vec{\alpha}) = \sigma_{sb}^0(\vec{\alpha}) \underbrace{\prod_{p \in \text{Syst}} I_\text{exp.} (\alpha_p; \sigma_{sb}^0, \sigma_{psb}^+, \sigma_{psb}^-)}_\text{factors to calculate}\]

with

\[\begin{split}I_\text{exp.}(\alpha; I^0, I^+, I^-) = \begin{cases} \left(\frac{I^+}{I^0}\right)^{\alpha} \qquad \alpha \geq 0\\ \left(\frac{I^-}{I^0}\right)^{-\alpha} \qquad \alpha < 0 \end{cases}\end{split}\]
__init__(histogramssets, subscribe=True)[source]#

Piecewise-Exponential Interpolation.

Methods

_precompute()[source]#
_precompute_alphasets(alphasets_shape)[source]#