Skip to content

Commit

Permalink
Updated docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
gschwefer committed Aug 29, 2023
1 parent dedd180 commit 1d664a6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ctapipe/image/pixel_likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d664a6

Please sign in to comment.