code4p#

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

Bases: object

The piecewise-linear interpolation strategy, with polynomial at \(\left|a\right| < 1\).

\[\sigma_{sb} (\vec{\alpha}) = \sigma_{sb}^0(\vec{\alpha}) + \underbrace{\sum_{p \in \text{Syst}} I_\text{lin.} (\alpha_p; \sigma_{sb}^0, \sigma_{psb}^+, \sigma_{psb}^-)}_\text{deltas to calculate}\]
__init__(histogramssets, subscribe=True)[source]#

Piecewise-Linear + Polynomial Interpolation.

Methods

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