File tree 1 file changed +6
-6
lines changed
examples/master/repository
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ class DBKeys:
13
13
nbins = Argument (100 )
14
14
repeats = Argument (100 )
15
15
16
- cool_f = Parameter (230 )
17
- detect_f = Parameter (220 )
18
- detect_t = Parameter (100 )
16
+ cool_f = Parameter (230 * MHz )
17
+ detect_f = Parameter (220 * MHz )
18
+ detect_t = Parameter (100 * us )
19
19
20
20
ion_present = Parameter (True )
21
21
@@ -27,10 +27,10 @@ def cool_detect(self):
27
27
with parallel :
28
28
self .bd .pulse (200 * MHz , 1 * ms )
29
29
self .bdd .pulse (300 * MHz , 1 * ms )
30
- self .bd .pulse (self .cool_f * MHz , 100 * us )
30
+ self .bd .pulse (self .cool_f , 100 * us )
31
31
with parallel :
32
- self .bd .pulse (self .detect_f * MHz , self .detect_t * us )
33
- self .pmt .gate_rising (self .detect_t * us )
32
+ self .bd .pulse (self .detect_f , self .detect_t )
33
+ self .pmt .gate_rising (self .detect_t )
34
34
self .bd .on (200 * MHz )
35
35
self .bdd .on (300 * MHz )
36
36
return self .pmt .count ()
You can’t perform that action at this time.
0 commit comments