code4#

class pyhf.interpolators.code4(histogramssets, subscribe=True, alpha0=1)[source]#

Bases: object

The polynomial interpolation and exponential extrapolation strategy.

σsb(α)=σsb0(α)pSystIpoly|exp.(αp;σsb0,σpsb+,σpsb,α0)factors to calculate

with

Ipoly|exp.(α;I0,I+,I,α0)={(I+I0)ααα01+i=16aiαi|α|<α0(II0)αα<α0

and the ai are fixed by the boundary conditions

σsb(α=±α0),dσsbdα|α=±α0,andd2σsbdα2|α=±α0.

Namely that σsb(α) is continuous, and its first- and second-order derivatives are continuous as well.

__init__(histogramssets, subscribe=True, alpha0=1)[source]#

Polynomial Interpolation.

Methods

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