summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-12-29 13:15:25 -0500
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:38 -0700
commit56718834a085b6dd12cc2cf66336e057d5363990 (patch)
treeb27c0f2302bcd4f8d568f5056b5e54cf31db5d6f
parent436e93b880748fde772b6951c55bfe19a0c5328a (diff)
downloadchroma-56718834a085b6dd12cc2cf66336e057d5363990.tar.gz
chroma-56718834a085b6dd12cc2cf66336e057d5363990.tar.bz2
chroma-56718834a085b6dd12cc2cf66336e057d5363990.zip
Put time PDF back into likelihood calculation
-rw-r--r--chroma/likelihood.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chroma/likelihood.py b/chroma/likelihood.py
index 5b746dd..2586f8f 100644
--- a/chroma/likelihood.py
+++ b/chroma/likelihood.py
@@ -105,8 +105,8 @@ class Likelihood(object):
# Then include the probability densities of the observed
# charges and times.
- #log_likelihood += ufloat((np.log(pdf_prob[self.event.channels.hit]).sum(),
- #0.0))
+ log_likelihood += ufloat((np.log(pdf_prob[self.event.channels.hit]).sum(),
+ 0.0))
return -log_likelihood