View/Trap/mainWindow.py
def updateMon(self):
        """Function that gets the data from the ADQ and prepares it for updating the GUI.
        """

        final_data = self.trap.readMonitor() # Have to be sure it is an ND array
        final_data = np.reshape(final_data, (self.trap.devsMonitor, int(len(final_data)/self.trap.devsMonitor)))
        mean_data = np.mean(final_data,1)
        varData = np.var(final_data, 1)
        self.emit(QtCore.SIGNAL('TimeTraces'), final_data)
        self.emit(QtCore.SIGNAL('varData'), varData)
        self.emit(QtCore.SIGNAL('MeanData'), mean_data)
Function that gets the data from the ADQ and prepares it for updating the GUI.
        
Function that gets the data from the ADQ and prepares it for updating the GUI.
Function that gets the data from the ADQ and prepares it for updating the GUI .
def updateMon(self):
        final_data = self.trap.readMonitor() 
        final_data = np.reshape(final_data, (self.trap.devsMonitor, int(len(final_data)/self.trap.devsMonitor)))
        mean_data = np.mean(final_data,1)
        varData = np.var(final_data, 1)
        self.emit(QtCore.SIGNAL('TimeTraces'), final_data)
        self.emit(QtCore.SIGNAL('varData'), varData)
        self.emit(QtCore.SIGNAL('MeanData'), mean_data)
def updateMon ( self ) : final_data = self . trap . readMonitor ( ) final_data = np . reshape ( final_data , ( self . trap . devsMonitor , int ( len ( final_data ) / self . trap . devsMonitor ) ) ) mean_data = np . mean ( final_data , 1 ) varData = np . var ( final_data , 1 ) self . emit ( QtCore . SIGNAL ( 'TimeTraces' ) , final_data ) self . emit ( QtCore . SIGNAL ( 'varData' ) , varData ) self . emit ( QtCore . SIGNAL ( 'MeanData' ) , mean_data )
Function that gets the data from the ADQ and prepares it for updating the GUI.
Function that gets the data from the ADQ and prepares it for updating the GUI .
"""Function that gets the data from the ADQ and prepares it for updating the GUI.
        """ # Have to be sure it is an ND array
self