Commit 9f168d1f authored by Martin Drechsler's avatar Martin Drechsler

some changes

parent d9ca3b4a
...@@ -738,8 +738,6 @@ class AndorBase(SDK3Camera): ...@@ -738,8 +738,6 @@ class AndorBase(SDK3Camera):
self._live_acq_auxs = a_s, px_encoding, xs, ys, bufs self._live_acq_auxs = a_s, px_encoding, xs, ys, bufs
def live_acquisition_loop(self): def live_acquisition_loop(self):
t = threading.currentThread() t = threading.currentThread()
while getattr(t, "do_run", True): while getattr(t, "do_run", True):
......
...@@ -5,7 +5,7 @@ Created on Thu Apr 4 11:10:20 2019 ...@@ -5,7 +5,7 @@ Created on Thu Apr 4 11:10:20 2019
@author: martindrech @author: martindrech
Por ahora, aca se va a crear una imagen cada cierto tiempo y eso se va a mandar a toy_gui para plotearse ahi
""" """
import numpy as np import numpy as np
...@@ -39,7 +39,7 @@ class CameraWorker(QtCore.QObject): ...@@ -39,7 +39,7 @@ class CameraWorker(QtCore.QObject):
frontend.sb.valueChanged.connect(lambda x = frontend.sb.value(): self.cam.ExposureTime.setValue(x)) frontend.sb.valueChanged.connect(lambda x = frontend.sb.value(): self.cam.ExposureTime.setValue(x))
#internal connections #internal connections
self.cam.helper.imageAquiredSignal.connect(self.acquire) self.cam.helper.imageAquiredSignal.connect(self.new_image_acquired)
def __del__(self): def __del__(self):
...@@ -75,7 +75,7 @@ class CameraWorker(QtCore.QObject): ...@@ -75,7 +75,7 @@ class CameraWorker(QtCore.QObject):
@QtCore.pyqtSlot() @QtCore.pyqtSlot()
def acquire(self): def new_image_acquired(self):
#print('acquiring') #print('acquiring')
self.imageReadySignal.emit(self.cam.current_image) self.imageReadySignal.emit(self.cam.current_image)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment