pyhgf.math.smoothed_rectangular#

pyhgf.math.smoothed_rectangular(x, theta_l, phi_l=8.0, theta_r=0.0, phi_r=1.0)[source]#

Compute the smoothed rectangular weighting function \(b\).

The function is the product of a rising and a falling parametrised_sigmoid(), producing a smooth rectangular window.

Parameters:
Returns:

The smoothed rectangular weighting evaluated at x.

Return type:

value