Skip to content

Commit

Permalink
Fix the units of the gui wavelength boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
lange50 committed Apr 28, 2025
1 parent 33eb531 commit bc216ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/qudi/gui/terascan/terascan_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def on_activate(self):
# create the main window
self._mw = TerascanMainWindow()
# ← populate start/stop λ in nm from the logic’s µm values
# TODO: Should I do this with a signal from the logic instead?
logic = self._terascan_logic()
self._mw.start_wavelength.setValue(logic.get_start_wavelength())
self._mw.stop_wavelength.setValue(logic.get_stop_wavelength())
Expand Down Expand Up @@ -281,10 +282,10 @@ def __init__(self, *args, **kwargs):
self._statusbar.addWidget(self._progress_bar)

# widgets
self.start_wavelength_label = QtWidgets.QLabel('Start Wavelength (um)')
self.start_wavelength_label = QtWidgets.QLabel('Start Wavelength (nm)')
self.start_wavelength = _spinbox()

self.stop_wavelength_label = QtWidgets.QLabel('Stop Wavelength (um)')
self.stop_wavelength_label = QtWidgets.QLabel('Stop Wavelength (nm)')
self.stop_wavelength = _spinbox()

self.scan_rate_label = QtWidgets.QLabel('Scan Rate')
Expand Down

0 comments on commit bc216ce

Please sign in to comment.