summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2011-12-29 13:15:06 -0500
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:38 -0700
commit436e93b880748fde772b6951c55bfe19a0c5328a (patch)
tree0e923f3a4596c33beb03b29a82c7caa586a25457
parentf4f158554f1f8656dfd4d1eac78dd0a33025fd03 (diff)
downloadchroma-436e93b880748fde772b6951c55bfe19a0c5328a.tar.gz
chroma-436e93b880748fde772b6951c55bfe19a0c5328a.tar.bz2
chroma-436e93b880748fde772b6951c55bfe19a0c5328a.zip
Reduce number of scattering passes by default in likelihood calculation
-rw-r--r--chroma/sim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chroma/sim.py b/chroma/sim.py
index 06771c7..c7b2026 100644
--- a/chroma/sim.py
+++ b/chroma/sim.py
@@ -128,7 +128,7 @@ class Simulation(object):
return self.gpu_pdf.get_pdfs()
@profile_if_possible
- def eval_pdf(self, event_channels, iterable, min_twidth, trange, min_qwidth, qrange, min_bin_content=100, nreps=1, ndaq=1, nscatter=4, time_only=True):
+ def eval_pdf(self, event_channels, iterable, min_twidth, trange, min_qwidth, qrange, min_bin_content=100, nreps=1, ndaq=1, nscatter=1, time_only=True):
"""Returns tuple: 1D array of channel hit counts, 1D array of PDF
probability densities."""
ndaq_per_rep = 64