calc_poisson_llu¶
-
hep_spt.
calc_poisson_llu
(m, cl=0.6826894921370859)[source]¶ Calculate poisson uncertainties based on the logarithm of likelihood.
- Parameters
m (float or numpy.ndarray(float)) – mean of the Poisson distribution.
cl (float or numpy.ndarray(float)) – confidence level (between 0 and 1).
- Returns
Lower and upper uncertainties.
- Return type
(float, float) or numpy.ndarray(float, float)
Note
This function might turn very time consuming. Consider using
poisson_llu()
instead.