From ed57223201edab96da357c398d5aef6905d2b70d Mon Sep 17 00:00:00 2001 From: gschwefer Date: Tue, 29 Aug 2023 17:11:06 +0200 Subject: [PATCH] Updated docstring --- ctapipe/image/pixel_likelihood.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ctapipe/image/pixel_likelihood.py b/ctapipe/image/pixel_likelihood.py index b02bbb30d4c..1d124d63852 100644 --- a/ctapipe/image/pixel_likelihood.py +++ b/ctapipe/image/pixel_likelihood.py @@ -72,11 +72,8 @@ def neg_log_likelihood_approx(image, prediction, spe_width, pedestal): - \\ln{P} = \\frac{\\ln{2 π} + \\ln{θ}}{2} + \\frac{(s - μ)^2}{2 θ} - and since we can remove constants and factors in the minimization: - - .. math:: - - - \\ln{P} = \\ln{θ} + \\frac{(s - μ)^2}{θ} + We keep the constants in this because the actual value of the likelihood can be used + to calculate a goodness-of-fit value Parameters