def showTrainSymbol(self):
# random, no bottom row
#self.curRow = np.random.randint(0,5)
#self.curCol = np.random.randint(0,6)
trainSyms = [sym if sym != ' ' else grid.space for sym in self.trainText]
sym = trainSyms[(self.curRep-1) % len(trainSyms)]
self.curRow, self.curCol = self.gridSpeller.getGridLocation(sym)
self.gridSpeller.selectSymbol(self.curRow, self.curCol)
wx.CallLater(1000.0*self.pause, self.gridSpeller.removeHighlight)
wx.CallLater(1000.0*(self.pause+self.windowEnd), self.trainClearStim)
评论列表
文章目录