summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Seibert <stan@mtrr.org>2013-03-13 15:11:06 -0400
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:39 -0700
commit904cc678df84c73a052f19e7f197ca74e895bf3e (patch)
tree2ba92b6ca3c1526425948e42a3164959f0195e24
parentecf4fd5c775c8eb83e8c87088f94b5c2261ed87c (diff)
downloadchroma-904cc678df84c73a052f19e7f197ca74e895bf3e.tar.gz
chroma-904cc678df84c73a052f19e7f197ca74e895bf3e.tar.bz2
chroma-904cc678df84c73a052f19e7f197ca74e895bf3e.zip
Speed up detector test. Still fails, though.
-rw-r--r--test/test_detector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_detector.py b/test/test_detector.py
index e1ff622..010da70 100644
--- a/test/test_detector.py
+++ b/test/test_detector.py
@@ -42,7 +42,7 @@ class TestDetector(unittest.TestCase):
wavelengths=wavelengths)
hit_times = []
- for ev in self.sim.simulate(photons for i in xrange(10000)):
+ for ev in self.sim.simulate(photons for i in xrange(1000)):
if ev.channels.hit[0]:
hit_times.append(ev.channels.t[0])
hit_times = np.array(hit_times)