forked from M-Labs/artiq
examples/photon_histogram: delay after count()
This commit is contained in:
parent
18b6718d0c
commit
85ecb900df
|
@ -54,6 +54,7 @@ class PhotonHistogram(EnvExperiment):
|
||||||
total = 0
|
total = 0
|
||||||
|
|
||||||
for i in range(self.repeats):
|
for i in range(self.repeats):
|
||||||
|
delay(0.5*ms)
|
||||||
n = self.cool_detect()
|
n = self.cool_detect()
|
||||||
if n >= self.nbins:
|
if n >= self.nbins:
|
||||||
n = self.nbins - 1
|
n = self.nbins - 1
|
||||||
|
|
Loading…
Reference in New Issue