summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-18 18:13:56 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-18 18:13:56 +0100
commit282ca0f8acc13779969384aefb780d413cf8bb73 (patch)
tree496edd184c7a4b20385f8df3bd11083940183d0b
parent8450ebc5a9d0adb0a113680d072a095252387fb7 (diff)
parameter smoothing
-rw-r--r--cli/app/search/live.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/search/live.py b/cli/app/search/live.py
index 223271f..e6e844c 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -115,7 +115,7 @@ class SinParam:
self.t = 0
def update(self):
- self.orbit_time.assign((np.pi) / self.orbit_speed.value, immediate=True)
+ self.orbit_time.assign((np.pi / 2) / self.orbit_speed.value, immediate=True)
self.t += 1
# randomize the orbit when possible -
# - check if we've done one full orbital period