Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alpaca233 committed Feb 25, 2025
1 parent 51830f2 commit c64997f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion software/control/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def read_frame(self):
numpy_image = raw_image.get_numpy_array()
if self.pixel_format == "MONO12":
numpy_image = numpy_image << 4
# self.current_frame = numpy_image
self.current_frame = numpy_image
return numpy_image

def _on_frame_callback(self, user_param, raw_image):
Expand Down
2 changes: 1 addition & 1 deletion software/control/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ def toggle_live(self, pressed):

def toggle_characterization_mode(self, state):
global LASER_AF_CHARACTERIZATION_MODE
LASER_AF_CHARACTERIZATION_MODE = state
LASER_AF_CHARACTERIZATION_MODE = bool(state == Qt.Checked)

def update_exposure_time(self, value):
self.signal_newExposureTime.emit(value)
Expand Down

0 comments on commit c64997f

Please sign in to comment.