summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-18 17:45:33 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-18 17:45:33 +0100
commit520f645f90f3566095e7f056ecbd514f508c7e95 (patch)
tree41d344ceaeb442107ab1d92960a57ec9feee3437 /cli
parent297a2e3015b3a89876d745004fbc80aad8e05483 (diff)
parameter smoothing
Diffstat (limited to 'cli')
-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 7ddef61..6fc2834 100644
--- a/cli/app/search/live.py
+++ b/cli/app/search/live.py
@@ -114,7 +114,7 @@ class SinParam:
self.t = 0
def update(self):
- self.orbit_time.assign((np.pi * 2) / self.orbit_speed.value, immediate=True)
+ self.orbit_time.assign((np.pi) / self.orbit_speed.value, immediate=True)
self.t += 1
# randomize the orbit when possible -
# - check if we've done one full orbital period