def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master,
                                 "cut_on_wavelengths_frame",
                                 "Cut-On Wavelengths (nm)")

        self.create_filter_wheel_frame(master)
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "current_settings_frame", "Current Settings")

        self.master = master

        self.create_current_settings_frame(master)
Beispiel #3
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "com_port_frame", "COM")

        self.master = master

        self.create_com_port_frame(master)
Beispiel #4
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "template2_frame",
                                 "Frame Title")

        self.master = master

        self.create_template2_frame(master)
Beispiel #5
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "current_grating_frame",
                                 "Current Grating")

        self.master = master

        self.create_current_grating_frame(master)
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "gpib_address_frame",
                                 "GPIB Address")

        self.master = master

        self.create_gpib_address_frame(master)
Beispiel #7
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "sample_frame",
                                 "OL-750 Sample Properties")

        self.button_state = "Start"
        self.root.preferences['sample_status'] = "stopped"

        self.sample_thread = None

        self.create_sample_frame(master)
Beispiel #8
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "grating_frame",
                                 "OL-750 Template Properties")

        self.preferences_dictionary = [
            'lower_effective_wavelength', 'upper_effective_wavelength',
            'grating_alignment_factor', 'grating_alignment_angle',
            'cut_on_wavelength', 'blaze_wavelength', 'grooves_per_millimeter'
        ]

        self.create_grating_frame(master)
Beispiel #9
0
    def __init__(self, master):

        Gui_Label_Frame.__init__(self, master, "input_lst_sw_gb_frame",
                                 "Gain / Bias")

        master.frames[self.frame_name].input_values = {
            'gain_b10': '',
            'gain_b11': '',
            'bias_b10': '',
            'bias_b11': ''
        }

        self.create_lst_sw_gb_frame(master)
Beispiel #10
0
    def __init__(self, master):

        self.path_dictionary = {
            'relative_status_log_path': '',
            'relative_output_log_path': '',
            'statusfile_name': '',
            'statusfile_relative_path_and_filename': '',
            'statusfile_absolute_path': '',
            'statusfile_absolute_path_and_filename': '',
            'outputfile_name': '',
            'outputfile_relative_path_and_filename': '',
            'outputfile_absolute_path': '',
            'outputfile_absolute_path_and_filename': ''
        }

        self.current_datetime = datetime.datetime.now().strftime(
            "%Y-%m-%d_%H%M")

        Gui_Label_Frame.__init__(self, master, "input_frame", "Input")
        self.create_input_frame(master)
Beispiel #11
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "filter_wheel_frame",
                                 "Filter Wheel Cut-On Wavelength Setup")

        self.create_filter_wheel_frame(master)
Beispiel #12
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "sample_definition_frame",
                                 "Sample Definition")

        self.create_sample1_frame(master)
    def __init__(self, master):

        Gui_Label_Frame.__init__(self, master, "status_frame", "Status")
        self.create_status_frame(master)
Beispiel #14
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "connection_frame",
                                 "OL-750 Connection Properties")
        self.create_connection_frame(master)
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "current_turret_frame", "Current Turret")
        self.create_current_turret_frame(master)
Beispiel #16
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "sample3_frame", "Sample3 Title")

        self.create_sample3_frame(master)
    def __init__(self, master):

        Gui_Label_Frame.__init__(self, master, "settings_frame", "Settings")
        self.create_settings_frame(master)
    def __init__(self, master):

        Gui_Label_Frame.__init__(self, master, "output_frame", "Output")
        self.create_output_frame(master)
Beispiel #19
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "template_frame",
                                 "OL-750 Template Properties")
        self.create_template_frame(master)
Beispiel #20
0
    def __init__(self, root, master):

        Gui_Label_Frame.__init__(self, root, master, "interface_frame",
                                 "Device Interface")
        self.create_interface_frame(master)