def processImages(self): thread = WorkThread(self.stimfiles) prog = ProgressWidget(thread) prog.show() thread.run() self.sequence, self.onset, self.framesBefore, self.framesAfter = thread.getVals( )
def getResults(self, stim, nostim): if self.ROIs == []: warn = QMessageBox.warning(self, "No ROI specified", "Warning: No ROI specified") else: thread = WorkThread(stim, nostim, self.ROIs) prog = ProgressWidget(thread) prog.show() thread.run() self.stimval, self.nostimval, self.conditions, self.stimfiles, self.nostimfiles, \ self.stimpx, self.nostimpx, self.stimcenter, self.nostimcenter = thread.getVals()
def getSequence(self): thread = WorkThread(self.datadir, self.framesBefore, self.framesAfter) prog = ProgressWidget(thread) prog.show() thread.run() self.sequence, self.onsets, self.onset, self.pngs = thread.getVals()
def processImages(self): thread = WorkThread(self.stimfiles) prog = ProgressWidget(thread) prog.show() thread.run() self.sequence, self.onset, self.framesBefore, self.framesAfter = thread.getVals()