summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony LaTorre <devnull@localhost>2012-12-21 11:50:16 -0500
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:39 -0700
commitbbb04c9aa4d2847e0b78a48424e37a962ee055a6 (patch)
tree96a0c5f20dec8322e7ba1e9dde299ee452badb2f
parent7905eb7d6457b597e39f72badd7ae2fce7272378 (diff)
downloadchroma-bbb04c9aa4d2847e0b78a48424e37a962ee055a6.tar.gz
chroma-bbb04c9aa4d2847e0b78a48424e37a962ee055a6.tar.bz2
chroma-bbb04c9aa4d2847e0b78a48424e37a962ee055a6.zip
set default max_steps to 100. this seems like a reasonable number.
-rw-r--r--chroma/sim.py2
1 files changed, 1 insertions, 1 deletions
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: