Esempio n. 1
0
    def change_display(self):
        """
        changes the view between ev and wavelength
        """
        self.img2 = plot_tools.change_display(self.graph_axes, self.data,
                                              self.dataview)

        self.update_label()
Esempio n. 2
0
    def change_display(self):
        """
        changes the view between ev and wavelength
        """
        self.img2 = plot_tools.change_display(self.graph_axes, self.data,
                                              self.dataview)

        min_label, max_label = analysis.v_labels(self.dataview)
        min_text, max_text = analysis.v_text(self.dataview)

        self.label_vmin_slice.setText(min_label)
        self.label_vmax_slice.setText(max_label)
        self.textbox_vmin_slice.setText(min_text)
        self.textbox_vmax_slice.setText(max_text)
Esempio n. 3
0
 def change_display(self):
     """
     changes the view between ev and wavelength
     """
     self. img2 = plot_tools.change_display(self.graph_axes,
                                            self.data,
                                            self.dataview)
                                            
     min_label, max_label = analysis.v_labels(self.dataview)
     min_text, max_text = analysis.v_text(self.dataview)
     
     self.label_vmin_slice.setText(min_label)           
     self.label_vmax_slice.setText(max_label)               
     self.textbox_vmin_slice.setText(min_text)     
     self.textbox_vmax_slice.setText(max_text)