mean_poisson_likelihood_gaussian¶
-
ctapipe.image.
mean_poisson_likelihood_gaussian
(prediction, spe_width, pedestal)[source]¶ Calculation of the mean likelihood for a give expectation value of pixel intensity in the gaussian approximation. This is useful in the calculation of the goodness of fit.
- Parameters
- prediction: ndarray
Predicted pixel amplitudes from model
- spe_width: ndarray
Width of single p.e. distribution
- pedestal: ndarray
Width of pedestal
- Returns
- float