nectarchain.utils.utils.cx#
- cx(sig2, mu2, res, p)[source]#
c in equation 4 in Caroff et al. (2019) Note : There is a typo in the article 1-p**2 -> (1-p)**2
- Args:
sig2 (float): width of the high charge Gaussian mu2 (float): position of the high charge Gaussian res (float): SPE resolution p (float): proportion of the low charge component (2 gaussians model)
- Returns:
float : c