def trainClearStim(self, event=None): self.gridSpeller.removeHighlight() self.src.setMarker(0.0) wx.CallLater(1000.0*self.isi, self.runTrainEpoch)