summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-10-13 14:41:43 -0400
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:38 -0700
commit5ef32be9b5a37ee2423452b72fe6a383c4c90316 (patch)
treefd0a84ab1df017d16c33ac0765c049faceb82945
parent598c0145f8d5950c8572e8fd3f9df26188a8c7bb (diff)
downloadchroma-5ef32be9b5a37ee2423452b72fe6a383c4c90316.tar.gz
chroma-5ef32be9b5a37ee2423452b72fe6a383c4c90316.tar.bz2
chroma-5ef32be9b5a37ee2423452b72fe6a383c4c90316.zip
Reduce the bin count requirement from 200 to 50.
-rw-r--r--chroma/sim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chroma/sim.py b/chroma/sim.py
index 72fdf3e..49bf142 100644
--- a/chroma/sim.py
+++ b/chroma/sim.py
@@ -122,7 +122,7 @@ class Simulation(object):
return self.gpu_pdf.get_pdfs()
- def eval_pdf(self, event_channels, iterable, min_twidth, trange, min_qwidth, qrange, min_bin_content=200, nreps=1, ndaq=1, time_only=True):
+ def eval_pdf(self, event_channels, iterable, min_twidth, trange, min_qwidth, qrange, min_bin_content=50, nreps=1, ndaq=1, time_only=True):
"""Returns tuple: 1D array of channel hit counts, 1D array of PDF
probability densities."""
self.gpu_pdf.setup_pdf_eval(event_channels.hit,