View/Trap/powerSpectra.py
def updateGUI(self,frequencies,data,values):
        """Updates the curves in the screen and the mean values.
        """
        self.setStatusTip('Stopped...')
        self.is_running = False
        self.data = data
        self.freqs = frequencies
        self.curvex.setData(self.freqs[1:],values[1,1:])
        self.curvey.setData(self.freqs[1:],values[0,1:])
        self.curvez.setData(self.freqs[1:],values[2,1:])

        if self._session.runs: # If the continuous runs is activated, then refresh.
            self.update()
Updates the curves in the screen and the mean values.
        
Updates the curves in the screen and the mean values.
Updates the curves in the screen and the mean values .
def updateGUI(self,frequencies,data,values):
        self.setStatusTip('Stopped...')
        self.is_running = False
        self.data = data
        self.freqs = frequencies
        self.curvex.setData(self.freqs[1:],values[1,1:])
        self.curvey.setData(self.freqs[1:],values[0,1:])
        self.curvez.setData(self.freqs[1:],values[2,1:])
        if self._session.runs: 
            self.update()
def updateGUI ( self , frequencies , data , values ) : self . setStatusTip ( 'Stopped...' ) self . is_running = False self . data = data self . freqs = frequencies self . curvex . setData ( self . freqs [ 1 : ] , values [ 1 , 1 : ] ) self . curvey . setData ( self . freqs [ 1 : ] , values [ 0 , 1 : ] ) self . curvez . setData ( self . freqs [ 1 : ] , values [ 2 , 1 : ] ) if self . _session . runs : self . update ( )
Updates the curves in the screen and the mean values.
Updates the curves in the screen and the mean values .
"""Updates the curves in the screen and the mean values.
        """ # If the continuous runs is activated, then refresh.
self
frequencies
data
values