gui.widget_fabry_perot module

This widget contains the functionality of the fabry_perot hardware class provided in fabry_perot.py. The widget can be executed as a standalone version.

Functionalities provided in this widget:

  1. Set the wavelength in nm to which the Fabry Perot should be tuned

  2. Set the wavenumber in 1/cm to which the Fabry Perot should be tuned

  3. Set the Pixel to which the Fabry Perot should be tuned

  4. Display the voltage which is currently applied to the Fabry Perot. This is also needed to tune the Fabry Perot/ to reset the voltage to a proper value so that the algorithm works

  5. If the Fabry Perot is tuned in the main software, this widget provides a plot (see code and comments for further explanation)

class WidgetFabryPerot(*args, obj=None, fabry_perot=None, widget_pyqtgraph=None, **kwargs)[source]

Bases: PyQt5.QtWidgets.QGroupBox, ui_fabry_perot.Ui_GroupBox_fabry_perot

update_pixel()[source]
update_values()[source]
update_voltage()[source]
update_wavelength()[source]
update_wavenumber()[source]
work(qt_obj: <module 'PyQt5.QtWidgets' from 'C:\\ProgramData\\Anaconda3\\lib\\site-packages\\PyQt5\\QtWidgets.pyd'>, fp_attr: str, fp_method: str)[source]