mirror of https://github.com/m-labs/artiq.git
flopping_f_simulation: style
This commit is contained in:
parent
2a5eaea411
commit
8185a3d701
|
@ -1,4 +1,3 @@
|
||||||
from math import sqrt, cos, pi
|
|
||||||
import time
|
import time
|
||||||
import random
|
import random
|
||||||
|
|
||||||
|
@ -26,8 +25,8 @@ class FloppingF(EnvExperiment):
|
||||||
default=LinearScan(1000, 2000, 100)))
|
default=LinearScan(1000, 2000, 100)))
|
||||||
|
|
||||||
self.setattr_argument("F0", NumberValue(1500, min=1000, max=2000))
|
self.setattr_argument("F0", NumberValue(1500, min=1000, max=2000))
|
||||||
self.setattr_argument("noise_amplitude", NumberValue(0.1, min=0, max=100,
|
self.setattr_argument("noise_amplitude", NumberValue(
|
||||||
step=0.01))
|
0.1, min=0, max=100, step=0.01))
|
||||||
|
|
||||||
self.setattr_device("scheduler")
|
self.setattr_device("scheduler")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue