Commit da12b4f6 authored by Martin Drechsler's avatar Martin Drechsler

some minor updates

parent 4b177e64
......@@ -47,7 +47,7 @@ def create_measurement_array(start, stop, steps, back_and_forth=False):
"""
Simply creates the array of a measurement.
"""
pass
return np.linspace(start, stop, steps)
def yield_array(arr):
......
......@@ -130,11 +130,13 @@ class CameraWorker(QtCore.QObject):
directory = measure_params['directory']
scan_array = create_measurement_array(start, end, step_num)
storage = Storage(directory)
self.cam.TriggerMode.setString('Software')
def get_scan_signal():
pass
for value in scan_array:
signal_to_scan.AO.set_out(value)
def get_scan_signal(self, ao_name):
return [ao for ao in anal_control_signal._registry if ao.name == ao_name][0]
QtCore.QTimer.singleShot(5000, self.measurementEndingSignal.emit)
print('Ending measurement')
......
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