forked from M-Labs/artiq
1
0
Fork 0

examples/photon_histogram: integers

This commit is contained in:
Sebastien Bourdeauducq 2016-05-07 17:40:44 +08:00
parent 7466a4d9a9
commit d365ce8de8
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ class PhotonHistogram(EnvExperiment):
self.setattr_device("bdd_sw") self.setattr_device("bdd_sw")
self.setattr_device("pmt") self.setattr_device("pmt")
self.setattr_argument("nbins", NumberValue(100)) self.setattr_argument("nbins", NumberValue(100, ndecimals=0, step=1))
self.setattr_argument("repeats", NumberValue(100)) self.setattr_argument("repeats", NumberValue(100, ndecimals=0, step=1))
self.setattr_dataset("cool_f", 230*MHz) self.setattr_dataset("cool_f", 230*MHz)
self.setattr_dataset("detect_f", 220*MHz) self.setattr_dataset("detect_f", 220*MHz)