From bbb04c9aa4d2847e0b78a48424e37a962ee055a6 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Fri, 21 Dec 2012 11:50:16 -0500 Subject: set default max_steps to 100. this seems like a reasonable number. --- chroma/sim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chroma/sim.py b/chroma/sim.py index cea23b8..fd1c0a5 100644 --- a/chroma/sim.py +++ b/chroma/sim.py @@ -53,7 +53,7 @@ class Simulation(object): self.pdf_config = None def simulate(self, iterable, keep_photons_beg=False, - keep_photons_end=False, run_daq=True, max_steps=1000): + keep_photons_end=False, run_daq=True, max_steps=100): try: first_element, iterable = itertoolset.peek(iterable) except TypeError: -- cgit