-
[open] Reset (NA) response_* variable before next trial
by timo ·run skp_stimulus_sc "always" #skp_stimulus with a red "X" addedrun rsp_secondchance "always" -
[solved] Mouse click to return grid coordinates instead
by sebastiaan ·* http://osdoc.cogsci.nl/tutorials/capybara/#step-10-define-the-touch-response -
[open] Conditional randomization
by eduard ·Hi, -
[solved] Experiment help
by eduard ·Hello, -
[solved] Incorrect Response Indicator for IRAP
by eduard ·Hi, -
[solved] io.readLine() from serial takes forever
by Eru_Iluvatar ·+ str(self.time()) #PRINT 5 else: #slice the line to x- and y-coordinates i = line.find('/') data.append([self.time() - startTime,index,line[:i-1],line[i+2:-1]]) print & -
[open] Eyelink Problems with pylink
by faedojury ·http://osdoc.cogsci.nl/devices/eyelink/#step-1-installing-opensesame-from-source -
[solved] Accuracy based on mouse location
by sebastiaan ·* http://osdoc.cogsci.nl/tutorials/capybara/#step-10-define-the-touch-response -
[solved] impatient chimps make the screen blink
by Edwin ·# get start timestampt0 = self.time()# create a mouse objectfrom openexp.mouse import mousemy_mouse = mouse(exp)#set timeouttimeout = 5000 # milliseconds# run until the timeout is overwhile self.time( -
[solved] Inline script and Python code give different results
by ghostrider ·#shuffle picListlist2 = picList[5:] #list2 from picList element 5 up (10 items)list3= list2[:5] #list3 from list2, first 5 elementslist4 = list2[5:] #list4 from list2 second five elementscue = (list3 -
[open] Cedrus srbox - collect rating and set duration by keypress
by sebastiaan ·* http://osdoc.cogsci.nl/tutorials/step-by-step-tutorial/#step-6-draw-the-sketchpad-items -
[solved] mouse fails to register some clicks
by martin ·= self.get('height')/2RT1 = NoneRT2 = None#set up angle deviation of stimulidef translate(angle, x, y): print 'Angle: ' + str(angle) + '\n' + 'X: ' + str(x) + '\n' + 'Y: ' + str(y) y1 = math.si -
[open] Randomizing pictures on form_base
by parfal ·def my_function(): print '#initialisestart = self.time()my_mouse.set_visible()#initialise bordersw,h = exp.resolution()#set a tracking loopflg=False tracking = Truewhile tracking: position, time -
[open] Recording keyboard responses during and after an audio stimulus
by sebastiaan ·* http://osdoc.cogsci.nl/usage/items/#sampler-items -
[solved]Playing beep during showing of a picture; trial ends after 6 seconds not when key is pressed
by cnvanderwal ·in range(1,13) ]list3 = [i for i in range(1,25) ]#shuffle each listrandom.shuffle(list1)random.shuffle(list2)random.shuffle(list3)#save the listsexp.list1 = list1 exp.list2 = list2 exp.list3 = list3 -
[open] Audio threshold
by snufkin ·290, 510, 490)my_canvas.show()#self.sleep(1000)#end fixation point#ser = serial.Serial("com30", 9600)time.sleep(2)exp.ser.bytesize = serial.EIGHTBITSin1 = self.experiment.get(&q -
[solved] why the sketchpad last longer than I set?
by sebastiaan ·* http://osdoc.cogsci.nl/tutorials/step-by-step-tutorial/#step-6-draw-the-sketchpad-items -
[open] Mouse click accuracy
by sebastiaan ·* http://osdoc.cogsci.nl/python/about/#sharing-variables-and-modules-between-inline_scripts -
[Solved] Mouse : how to collect plural mouse response in one sequence
by Zalian ·target_user_order.append(1) #So if user clicked on the first item, we store it on the target_user_order list. elif target_x == target_positions[1][0] and target_y == target_ -
[solved] csv output file in UTF-8 with BOM encoding
by sebastiaan ·* http://docs.python.org/2/library/codecs.html#standard-encodings