qis.SignalMapType¶
- class qis.SignalMapType(*values)[source]¶
Bases:
Enumshape of the signal-to-weight map in
map_signal_to_weight.With
eta = (y - loc) / scale:- Variables:
NormalCDF –
2 * Phi(eta) - 1; odd aboutloc, bounded in (-1, 1), slopesqrt(2 / pi) / scaleat the centre. UseslocandscaleonlyLaplaceCDF –
sign(eta) * (1 - exp(-|eta|)); slope1 / scaleat the centre, exponential approach to the bound. UseslocandscaleonlyExpCDF – not a CDF of an exponential law despite its name. A Gaussian-shaped saturating map
+-tail_level * (1 - exp(-(y - loc)^2 / omega)), quadratic and so of zero slope atloc, which damps small signals.scaleacts as a variance: the weight is+slope_rightaty - loc = 1.25 sqrt(scale)and-slope_leftaty - loc = -1.25 sqrt(scale), and tends to+-tail_level; optional tail decays fade extreme signals
- __init__(*args, **kwds)¶
Attributes
- NormalCDF = 1¶
- LaplaceCDF = 2¶
- ExpCDF = 3¶