gui.widget_triax module

This widget contains the functionality of the triax spectrometer hardware class provided in triax.py. The widget can be executed as a standalone version if the correct Triax spectrometer is connected and the correct port/settings are chosen.

Functionalities provided in this widget:

  1. Display the currently set Turret

  2. Set and read out the Grating

  3. Display the grating line density of the currently active grating

  4. Set and read out the central wavelength in nm

  5. Set and read out the central wavenumber in 1/cm

  6. Set and read out the slit size in mu m

  7. Switch between to user defined slit sizes

class WidgetTriax(*args, obj=None, triax: Optional[triax.Triax] = None, **kwargs)[source]

Bases: PyQt5.QtWidgets.QGroupBox, ui_triax.Ui_GroupBox_triax

update_grating()[source]
update_slit()[source]
update_toggle_slit()[source]
update_values()[source]
update_wavelength()[source]
update_wavenumber()[source]
work(qt_obj: <module 'PyQt5.QtWidgets' from 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\PyQt5\\QtWidgets.pyd'>, triax_attr: str, triax_method: str)[source]