summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chroma/likelihood.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/chroma/likelihood.py b/chroma/likelihood.py
index 50d9593..506131d 100644
--- a/chroma/likelihood.py
+++ b/chroma/likelihood.py
@@ -62,7 +62,7 @@ class Likelihood(object):
nreps=nreps,
ndaq=ndaq,
time_only=self.time_only,
- min_bin_content=ndaq*10)
+ min_bin_content=320)
# Normalize probabilities and put a floor to keep the log finite
hit_prob = hitcount.astype(np.float32) / ntotal
@@ -100,8 +100,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