mirror of https://github.com/m-labs/artiq.git
examples/sim/al_spectroscopy: replace FreeValue
This commit is contained in:
parent
bea1182aca
commit
e4791ad383
|
@ -13,8 +13,8 @@ class AluminumSpectroscopy(EnvExperiment):
|
||||||
self.setattr_device("state_detection")
|
self.setattr_device("state_detection")
|
||||||
self.setattr_device("pmt")
|
self.setattr_device("pmt")
|
||||||
self.setattr_dataset("spectroscopy_freq", 432*MHz)
|
self.setattr_dataset("spectroscopy_freq", 432*MHz)
|
||||||
self.setattr_argument("photon_limit_low", FreeValue(10))
|
self.setattr_argument("photon_limit_low", NumberValue(10))
|
||||||
self.setattr_argument("photon_limit_high", FreeValue(15))
|
self.setattr_argument("photon_limit_high", NumberValue(15))
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
Loading…
Reference in New Issue