p300grid.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:cebl 作者: idfah 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号