photons.equipment.widgets.hrs_monochromator module
Widget for a HRS500M Monochromator from Princeton Instruments.
- class photons.equipment.widgets.hrs_monochromator.HRSMonochromatorWorker(method, *args)[source]
Bases:
WorkerExecute the call to the Princeton Instruments DLL in a worker thread.
- class photons.equipment.widgets.hrs_monochromator.HRSMonochromatorWidget(connection, *, parent=None)[source]
Bases:
BaseEquipmentWidgetWidget for a HRS500M Monochromator from Princeton Instruments.
- Parameters:
connection (
HRSMonochromator) – The connection to the monochromator.parent (
QWidget) – The parent widget.
- on_grating_position_changed(position)[source]
Slot for the HRSMonochromator.grating_position_changed signal.
Updates the Grating QComboBox without emitting the currentIndexChanged signal.
- on_filter_position_changed(position)[source]
Slot for the HRSMonochromator.filter_position_changed signal.
Updates the Filter QComboBox without emitting the currentIndexChanged signal.
- on_wavelength_editing_finished()[source]
Slot for the Wavelength QDoubleSpinBox.editingFinished signal.
- Return type:
- on_wavelength_changed(requested, encoder)[source]
Slot for the HRSMonochromator.wavelength_changed signal.
- on_front_entrance_slit_editing_finished()[source]
Slot for the front entrance slit QSpinBox.editingFinished signal.
- Return type:
- on_front_entrance_slit_changed(width)[source]
Slot for the HRSMonochromator.front_entrance_slit_changed signal.
- on_front_exit_slit_editing_finished()[source]
Slot for the front exit slit QSpinBox.editingFinished signal.
- Return type:
- on_front_exit_slit_changed(width)[source]
Slot for the HRSMonochromator.front_exit_slit_changed signal.