def OnClickedR7C3(self, event): btnR7C3Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR7C3Label)) core.shellCall([ sys.executable, "../DigitSpan/BackwardDigitSpan.py", self.PartID.GetValue(), self.VisitFolderPath ]) self.cbR7C3.SetValue(True)
def OnClickedR1C4(self, event): btnR1C4Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR1C4Label)) core.shellCall([ sys.executable, "../Stroop/StroopColorWordv1.py", self.PartID.GetValue(), self.VisitFolderPath ]) self.cbR1C4.SetValue(True)
def OnClickedR5C2(self, event): btnR5C2Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR5C2Label)) core.shellCall([ sys.executable, "../DMSPsychopyFiles/DMSDemo_GUI_v2.py", self.PartID.GetValue(), self.VisitFolderPath, self.DMSFontSize ]) self.cbR5C2.SetValue(True)
def OnClickedVSTMDemo(self, event): btn = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btn)) core.shellCall([ sys.executable, "VSTMPsychopyFiles/VSTM_CirclesInGrid_DEMOv1.py", self.PartID.GetValue() ]) self.VSTMDEMOCB.SetValue(True)
def OnClickedR8C2(self, event): btnR8C2Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR8C2Label)) core.shellCall([ sys.executable, "../PatternComparison/PatternComparison_v2.py", self.PartID.GetValue(), self.VisitFolderPath ]) self.cbR8C2.SetValue(True)
def OnClickedFRTDemo(self, event): btn = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btn)) core.shellCall([ sys.executable, "FRTPsychopyFiles/FRTDemo_GUI.py", self.PartID.GetValue() ]) self.FRTDEMOCB.SetValue(True)
def OnClickedR9C3(self, event): btnR9C3Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR9C3Label)) core.shellCall([ sys.executable, "../Matrices/MatricesWClockMainv2.py", self.PartID.GetValue(), self.VisitFolderPath ]) self.cbR9C3.SetValue(True)
def OnClickedDMSDemo(self, event): btn = event.GetEventObject().GetLabel() print "Label of pressed button = ", btn core.shellCall([ sys.executable, "DMSPsychopyFiles/DMSDemo_GUI.py", self.PartID.GetValue(), '60' ]) self.DMSDEMOCB.SetValue(True)
def OnClickedDMSDemo(self, event): FontSize = '60' btn = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btn)) core.shellCall([ sys.executable, "DMSPsychopyFiles/DMSDemo_GUI.py", self.PartID.GetValue(), FontSize ]) self.DMSDEMOCB.SetValue(True)
def OnClickedDMSStair(self, event): self.DMSStairCaseDateStr = data.getDateStr() btn = event.GetEventObject().GetLabel() print "Label of pressed button = ", btn core.shellCall([ sys.executable, "DMSPsychopyFiles/DMSStairCase_v4_forBehav.py", self.PartID.GetValue() ]) self.LoadDMSCapacity(self)
def OnCickPartEntry(self, event): btnName = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnName)) # Check to see if there is a participant folder for this person # Need to clear the filename box and uncheck all CBs self.CheckPartFolder() self.CheckVisitFolder() # Enabale the buttons again self.EnableAll()
def OnClickedRMemC2(self, event): btnMemC2Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnMemC2Label)) core.shellCall([ sys.executable, "../SelectiveReminding/SelectiveRemindingWithTimerSoundsv1.py", self.PartID.GetValue(), self.VisitFolderPath ]) self.cbRMemC2.SetValue(True)
def OnClickedR3C2(self, event): btnR3C2Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR3C2Label)) core.shellCall([ sys.executable, "../VSTMPsychopyFiles/VSTM_CirclesInGrid_DEMOv2.py", self.PartID.GetValue(), self.VisitFolderPath ]) self.cbR3C2.SetValue(True)
def OnClickedR5C3(self, event): btnR5C3Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR5C3Label)) core.shellCall([ sys.executable, "../DMSPsychopyFiles/DMSStairCase_v4.py", self.PartID.GetValue(), self.VisitFolderPath ]) self.LoadDMSCapacity(True) self.cbR5C3.SetValue(True)
def OnClickedFRTStair(self, event): btn = event.GetEventObject().GetLabel() print "Label of pressed button = ", btn self.FRTStairCaseDateStr = data.getDateStr() core.shellCall([ sys.executable, "FRTPsychopyFiles/FRTStairCase_v1.py", self.PartID.GetValue() ]) # after the task is run read the capicity file self.LoadFRTCapacity(self)
def OnClickedFRTBlock(self, event): btn = event.GetEventObject().GetLabel() print("Label of pressed button = " % (btn)) print self.PartID.GetValue() print self.FRTBlockLoadLevels core.shellCall([ sys.executable, "FRTPsychopyFiles/FRT_Adaptive.py", self.PartID.GetValue(), self.FRTBlockLoadLevels ]) self.FRTBlockCB1.SetValue(True)
def OnClickedDMSStair(self, event): FontSize = '60' self.DMSStairCaseDateStr = data.getDateStr() btn = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btn)) core.shellCall([ sys.executable, "DMSPsychopyFiles/DMSStairCase_v3.py", self.PartID.GetValue(), FontSize ]) self.LoadDMSCapacity(self)
def OnClickedRMemC6(self, event): btnMemC6Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnMemC6Label)) #core.shellCall([sys.executable, "../SelectiveReminding/SRTRecogSequentialPres.py", self.PartID.GetValue(), self.VisitFolderPath]) core.shellCall([ sys.executable, "../SelectiveReminding/SRTRecogSequentialPresSounds.py", self.PartID.GetValue(), self.VisitFolderPath ]) self.cbRMemC6.SetValue(True)
def OnClickedVSTMStair(self, event): btn = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btn)) self.VSTMStairCaseDateStr = data.getDateStr() core.shellCall([ sys.executable, "VSTMPsychopyFiles/VSTM_CirclesInGridStaircase_v2.py", self.PartID.GetValue() ]) # after the task is run read the capicity file self.LoadVSTMCapacity(self)
def OnClickedR3C3(self, event): btnR3C3Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR3C3Label)) core.shellCall([ sys.executable, "../VSTMPsychopyFiles/VSTM_CirclesInGridStaircase_v3.py", self.PartID.GetValue(), self.VisitFolderPath ]) # Once the staircase is run, load up the file that is created and display it self.LoadVSTMCapacity(self) self.cbR3C3.SetValue(True)
def OnClickedR5C6(self, event): # Use the tag to keep track of the run number self.DMSTag = self.DMSTag + 1 btnR5C6Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR5C6Label)) core.shellCall([ sys.executable, "../DMSPsychopyFiles/DMS_Adaptive5Load_v4NP.py", self.PartID.GetValue(), self.VisitFolderPath, self.DMSBlockLoadLevels, self.DMSFontSize, 'BehRun%d' % (self.DMSTag) ]) self.cbR5C6.SetValue(True)
def OnClickedWORDDemo(self, event): print(self.CounterBalCB.GetValue()) btn = event.GetEventObject().GetLabel() CounterBalFlag = str(self.CounterBalCB.GetValue()) print("Label of pressed button = %s" % (btn)) Tag = 'WordDemo' print self.PartID.GetValue() # print self.DMSBlockLoadLevels #core.shellCall([sys.executable, "DMSPsychopyFiles/DMS_Adaptive_v2.py", self.PartID.GetValue(), self.DMSBlockLoadLevels]) core.shellCall([ sys.executable, "SemanticRichness/BlockBased/SemanticRichnessBlockBasedDEMOv2.py", self.PartID.GetValue(), CounterBalFlag, Tag ])
def OnClickedR3C4(self, event): btnR3C4Label = event.GetEventObject().GetLabel() print("Label of pressed button = %s" % (btnR3C4Label)) VSTMCapacity = 7 self.VSTMBlockLoadLevels = self.CreateVSTMList5(VSTMCapacity) print('With a capacity of %0.1f, the load levels will be:' % (VSTMCapacity)) print(self.VSTMBlockLoadLevels) core.shellCall([ sys.executable, "../VSTMPsychopyFiles/VSTM_CirclesInGrid_v6.py", self.PartID.GetValue(), self.VisitFolderPath, self.VSTMBlockLoadLevels ]) self.cbR3C4.SetValue(True)
def OnClickedDMSBlock(self, event): btn = event.GetEventObject().GetLabel() print "Label of pressed button = ", btn print self.PartID.GetValue() print self.DMSBlockLoadLevels DropBoxFolder = BehavioralDataFolder # os.path.join('/Users','jasonsteffener','Dropbox','steffenercolumbia','Projects','MyProjects','NeuralCognitiveMapping') PartDataFolder = os.path.join(DropBoxFolder, self.PartID.GetValue()) print('Saving data to:\n\t%s' % (PartDataFolder)) #core.shellCall([sys.executable, "DMSPsychopyFiles/DMS_Adaptive_v2.py", self.PartID.GetValue(), self.DMSBlockLoadLevels]) core.shellCall([ sys.executable, "DMSPsychopyFiles/DMS_Adaptive5Load_v4.py", self.PartID.GetValue(), PartDataFolder, self.DMSBlockLoadLevels, '60', 'BehRun1' ]) self.DMSBlockCB.SetValue(True)
def OnClickedWORDEV(self, event): btn = event.GetEventObject().GetLabel() CounterBalFlag = str(self.CounterBalCB.GetValue()) print("Label of pressed button = %s" % (btn)) if btn == 'SR Run 1': Tag = '1' elif btn == 'SR Run 2': Tag = '2' else: Tag = '9' print self.PartID.GetValue() # print self.DMSBlockLoadLevels #core.shellCall([sys.executable, "DMSPsychopyFiles/DMS_Adaptive_v2.py", self.PartID.GetValue(), self.DMSBlockLoadLevels]) core.shellCall([ sys.executable, "SemanticRichness/BlockBased/SemanticRichnessBlockBasedv2.py", self.PartID.GetValue(), CounterBalFlag, Tag ])
def OnClickedVSTMBlock(self, event): btn = event.GetEventObject().GetLabel() CounterBalFlag = str(self.CounterBalCB.GetValue()) print("Label of pressed button = %s" % (btn)) if btn == 'VSTM Run 1': Tag = '1' elif btn == 'VSTM Run 2': Tag = '2' else: Tag = '9' print self.PartID.GetValue() print self.VSTMBlockLoadLevels #core.shellCall([sys.executable, "DMSPsychopyFiles/DMS_Adaptive_v2.py", self.PartID.GetValue(), self.DMSBlockLoadLevels]) core.shellCall([ sys.executable, "VSTMPsychopyFiles/VSTM_CirclesInGrid_v4.py", self.PartID.GetValue(), self.VSTMBlockLoadLevels, CounterBalFlag, Tag ]) if Tag == '1': self.VSTMBlockCB1.SetValue(True) else: self.VSTMBlockCB2.SetValue(True)