gui.widget_main_window module¶
-
class
MainWindow(hw, hw_path, *args, username='Tenshinhan', adc=None, pi_stage=None, spectrometer=None, fpas=None, interferometer_counter=None, chopper=None, shutter=None, polarizer=None, mu_screw=None, fabry_perot=None, prl=None, csf=None, obj=None, **kwargs)[source]¶ Bases:
PyQt5.QtWidgets.QMainWindow,ui_main_window.Ui_MainWindow-
create_SaveData(delays, pump_pixels=None)[source]¶ Creates an instance of SaveData to pass to an experiment with the parameters specified in the GUI. Always call this method before creating an instance of an experiment.
- Parameters
delays (ndarray) – Delays in the experiment. If this is not applicable to experiment, pass None.
pump_pixels (ndarray, optional) – Pump pixels in the experiment. If this is not applicable to experiment, pass None. Defaults to None.
- Returns
- Instance of SaveData that is handed to an
experiment.
- Return type
-