Skip to content

Commit 028f740

Browse files
committed
remove prints
1 parent 87db915 commit 028f740

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

src/navigate/model/devices/camera/camera_hamamatsu.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ def set_readout_direction(self, mode):
241241

242242
if mode in readout_direction_dict:
243243
self.camera_controller.set_property_value("readout_direction", readout_direction_dict[mode])
244-
print('readout direction: ', mode + ' ', readout_direction_dict[mode])
245244
else:
246245
print("Camera readout direction not supported")
247246
logger.info("Camera readout direction not supported")

src/navigate/model/devices/daq/daq_base.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ def __init__(self, configuration):
9696
#: int: Number of times to expand the waveform
9797
self.waveform_expand_num = 1
9898

99-
#: bool: Bidirectional ASLM mode enabled?
100-
self.bidirectional = False
101-
10299
def calculate_all_waveforms(self, microscope_name, exposure_times, sweep_times):
103100
"""Pre-calculates all waveforms necessary for the acquisition and organizes in
104101
a dictionary format.
@@ -123,12 +120,6 @@ def calculate_all_waveforms(self, microscope_name, exposure_times, sweep_times):
123120
self.waveform_dict = dict.fromkeys(self.waveform_dict, None)
124121
self.enable_microscope(microscope_name)
125122

126-
# # to determine if the waveform has to be triangular
127-
# sensor_mode = self.configuration["experiment"][
128-
# "CameraParameters"]["sensor_mode"]
129-
# readout_direction = self.configuration["experiment"][
130-
# "CameraParameters"]["readout_direction"]
131-
132123
microscope_state = self.configuration["experiment"]["MicroscopeState"]
133124

134125
# Iterate through the dictionary.

src/navigate/model/devices/daq/daq_ni.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,6 @@ def create_camera_task(self, channel_key):
232232
initial_delay=camera_delay,
233233
)
234234

235-
# apply waveform templates.
236-
# waveform_repeat_num = ...
237-
# waveform_expand_num
238235
camera_waveform_repeat_num = self.waveform_repeat_num * self.waveform_expand_num
239236
self.camera_trigger_task.timing.cfg_implicit_timing(
240237
sample_mode=nidaqmx.constants.AcquisitionType.FINITE,
@@ -266,9 +263,6 @@ def create_analog_output_tasks(self, channel_key):
266263
"""
267264
self.n_sample = int(self.sample_rate * self.sweep_times[channel_key])
268265
max_sample = self.n_sample * self.waveform_expand_num
269-
print("max_sample", max_sample)
270-
print("repeat number", self.waveform_repeat_num)
271-
print("expand number", self.waveform_expand_num)
272266
# TODO: GalvoStage and remote_focus waveform are not calculated based on a
273267
# same sweep time. There needs some fix.
274268

0 commit comments

Comments
 (0)