diff options
author | Stan Seibert <stan@mtrr.org> | 2013-03-13 15:11:06 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:39 -0700 |
commit | 904cc678df84c73a052f19e7f197ca74e895bf3e (patch) | |
tree | 2ba92b6ca3c1526425948e42a3164959f0195e24 /test | |
parent | ecf4fd5c775c8eb83e8c87088f94b5c2261ed87c (diff) | |
download | chroma-904cc678df84c73a052f19e7f197ca74e895bf3e.tar.gz chroma-904cc678df84c73a052f19e7f197ca74e895bf3e.tar.bz2 chroma-904cc678df84c73a052f19e7f197ca74e895bf3e.zip |
Speed up detector test. Still fails, though.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_detector.py | 2 |
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) |