Esempio n. 1
0
 def processImages(self):
     thread = WorkThread(self.stimfiles)
     prog = ProgressWidget(thread)
     prog.show()
     thread.run()
     self.sequence, self.onset, self.framesBefore, self.framesAfter = thread.getVals(
     )
Esempio n. 2
0
 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()
Esempio n. 3
0
 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()
Esempio n. 4
0
 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()
Esempio n. 5
0
 def processImages(self):
     thread = WorkThread(self.stimfiles)
     prog = ProgressWidget(thread)
     prog.show()
     thread.run()
     self.sequence, self.onset, self.framesBefore, self.framesAfter = thread.getVals()