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\).

Parameters:
  • x (Array | ndarray | bool | number | bool | int | float | complex)

  • theta_l (Array | ndarray | bool | number | bool | int | float | complex)

  • phi_l (Array | ndarray | bool | number | bool | int | float | complex)

  • theta_r (Array | ndarray | bool | number | bool | int | float | complex)

  • phi_r (Array | ndarray | bool | number | bool | int | float | complex)