Skip to content
Snippets Groups Projects
Commit cf4ed0cc authored by Jakobsen, Mads Bregenholt's avatar Jakobsen, Mads Bregenholt
Browse files

removed timing gtom OnlineImagePlotter, has nothing to do here. have it...

removed timing gtom OnlineImagePlotter, has nothing to do here. have it impleneted in DataToPlotHash instead
parent 03f50b48
No related branches found
No related tags found
No related merge requests found
Pipeline #167549 passed
......@@ -58,8 +58,6 @@ class OnlineImagePlotter():
self.process = Process(target=plot_receiver, args=(self.receiver, self.plot_memory, self.train_id), daemon=True)
self.process.start()
self.time_to_make_and_request_image = time.time()
def get_image_buffer_if_ready_and_make_new_image(self, train_id, fun, *args):
'''
return None if image is not ready
......@@ -91,11 +89,9 @@ class OnlineImagePlotter():
package['fun'] = fun
package['arg'] = args
self.sender.send(package)
self.time_to_make_and_request_image = time.time()
else:
pass
dt = time.time() - self.time_to_make_and_request_image
return current_image, dt
return current_image
class DataToPlotToHash():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment