-
[open] Need help displaying performance after block trial loop
by Quant_Lab ·#Initializing Starting Pointsimport random random.shuffle(lo_stim)random.shuffle(hi_stim)vv=0ww=0global total_correcttotal_correct=0global totaltotal=0global total_referralstotal_referrals=0#Keyboard -
[solved] inline script logging fails
by Edwin ·Hi, -
[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] Eye-tracking lab (running OpenSesame from source for EyeLink compatibility)
by Edwin ·Hi Katerina, -
[open] A couple of questions for form_text_input functions
by sebastiaan ·* http://osdoc.cogsci.nl/python/inline-script/#inline_script.set_response -
[open] Randomizing Photo Location in OpenSesame
by lvanderlinden ·# http://osdoc.cogsci.nl/python/inline-script/#inline_script.get old_x = self.get("x_loc") # Make the x coordinate negative: new_x = -old_x # (Re)set the variable 'x_ -
[solved] Record continous timestamps
by refuzee ·[]global xList, yList, tList, stListglobal myLog#initialise sampler#from openexp.sampler import sampler#src = exp.get_file(self.get("sent") + ".wav")#my_sampler = -
[open] Counter
by sebastiaan ·* http://osdoc.cogsci.nl/usage/giving-feedback-to-participants/#inline-script -
[open] Mousetracking and Visual World Paradigm
by hunterh ·#initialise myLog#note that this will append data to myLog, not overwrite it.global myLogmyLog = open('T:/Supervision/Ryosuke/mylog.csv','a')#Remove comment if you want a Header.#Will add a single hea -
[open] Multiple correct button presses
by sebastiaan ·* http://osdoc.cogsci.nl/usage/giving-feedback-to-participants/#inline-script -
[solved] location location location
by sebastiaan ·* http://osdoc.cogsci.nl/python-inline-code/about-python-inline-code/#inline-script -
[solved] Processing response data from inline script
by sebastiaan ·* http://osdoc.cogsci.nl/usage/giving-feedback-to-participants/#inline-script -
[solved] Resetting counters
by sebastiaan ·Hi Jákup, -
[open] save responses into block variable table
by sebastiaan ·Certainly. You can use the self.get() and exp.set() as described here -
[open] OpenSesame and R: works together?
by sebastiaan ·* http://osdoc.cogsci.nl/usage/variables-and-conditional-qifq-statements#inline -
[open] Libet's rotating spot clock - Intentional Binding Paradigm
by Caiman ·to build rotating spotimport random, time#initialice mousmy_mouse = mouse(self.experiment)#initialize synth, sine wavemy_synth = synth(self.experiment, osc = "sine", freq = &quo -
[open] Libet's rotating spot clock - Intentional Binding Paradigm
by Caiman ·to build rotating spotimport random, time#initialize synth, sine wavemy_synth = synth(self.experiment, osc = "sine", freq = "b1", attack = 1, length = 200)#initial -
[solved] Putting "if-clauses" in the Key-response
by sebastiaan ·It's important to know that not all Python variables are automatically recognized by OpenSesame with the "[variable]" notation. Specifically, OpenSesame only recognizes variables th… -
a few suggestions and questions
by sebastiaan ·I usually recommend the loop table, particularly to users that are not very experienced programmers. But of course you can also work out your own system with reading a text file and setting variables…