examples/sim/al_spectroscopy: replace FreeValue

This commit is contained in:
Sebastien Bourdeauducq 2015-12-27 11:57:13 +08:00
parent bea1182aca
commit e4791ad383
1 changed files with 2 additions and 2 deletions

View File

@ -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):