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