-
Showing VLC output on a PyGame subsurface?
by hanzh ·Hi, -
Recording Keyboard Responses from Stimulus Onset while Keeping Stimuli on Screen
by knmeyer ·from openexp.canvas import canvasfrom openexp.keyboard import keyboard #settings timeout1 = var.tar_present_time #target presentation duration timeout2 = var.keyboard2_time #fixation canvas -
Recording Keyboard Responses from Stimulus Onset while Keeping Stimuli on Screen
by eduard ·#settingstimeout1 = var.tar_present_timetimeout2 = var.keyboard2_timetimeout3 = 1500 # fixation canvas durationtimeout = timeout1 + timeout3ready_for_break = False#create keyboardmy_keyboard = keybo -
Recording Keyboard Responses from Stimulus Onset while Keeping Stimuli on Screen
by knmeyer ·#settingsself.experiment.set("timeout1",self.get("tar_present_time"))self.experiment.set("timeout2",self.get("keyboard2_time"))# -
File will not open
by Jarik ·* Failed to parse line "set _prepare "#set max x and y resolution". Is there a closing quotation missing? -
File will not open
by allision ·to parse line "set _prepare "#set max x and y resolution". Is there a closing quotation missing?Detailsitem-stack: ``exception message: No closing quotationtime: Wed Sep 7 -
Problem with sending parallel-port-triggers (EEG)
by TheAdriWest ·parallel port couldn\'t be opened'#Inlinescript 2#send trigger 0 right after the init global io trigger = 0 port = 0xC090 try: io.DlPortWritePortUchar(port, tri -
Open Sesame tutorial stimuli
by eduard ·Hi, -
Failing to update old OS 2.9.7. scripts to OS 3.1+
by sebastiaan ·Hi Michel, -
Random digit analysis & 4th level analysis for MC Questions.
by DCube ·http://osdoc.cogsci.nl/2.9/tutorials/step-by-step-tutorial/#step-8-configure-the-incorrect-sampler-item -
[open] Inhibition Experiment with Variable Stimuli Presentations
by eduard ·import random# put all the image filenames in a list and make sure the files are in the # file poolall_pictures = ['pic1.JPG','pic2.JPG',...]#set parametersno_images = 48no_1repeat = 22no_2repeat = 15 -
Adding a time variable to be displayed in the data file?
by Knante ·* https://docs.python.org/2.7/library/datetime.html#strftime-strptime-behavior -
[Help needed] Callback function with Pyaudio implying unknown error
by G_Merlhiot ·pyaudio.paInt16 #paInt8CHANNELS = 1 RATE = 44100 #sample rateRECORD_SECONDS = 1WAVE_OUTPUT_FILENAME = "C:\STROOP\output" + str(Trial) + ".wav"#wf.writeframes(data) -
Using OpenSesame/Pygaze for dual eye tracking?
by hanzh ·import osfrom socket import *from openexp.keyboard import keyboard#setting experiment variablesmy_canvas = canvas()my_canvas.text('<b>Hit the space bar to start simultaneous recording... -
[open] Dissertation: One-Shot Change Detection Task
by Knante ·Okay, let's start with getting all pictures into a file pool as explained here in the tutorial. -
[solved] Break loop if one of two conditions presented
by Knante ·Hi Eglantine, -
[open] How can I start using Pygaze with the eyeTribe
by eduard ·Hello, -
[solved] Why is the display time about 100ms longer on average than I set?
by amazinger ·exp.set("response",resp) ##set the feedback variables exp.set('total_responses', self.get('total_responses')+1) exp.set('total_correct', self.get('total_correct')+correct -
[solved] Why is the display time about 100ms longer on average than I set?
by amazinger ·__end__ ___run__ ##set some variables timeout1 = 600 timeout2 = 900 ISI = 1700 #here the ISI means the time from the end of stimulus in a trial to the beginning of the stimulus of n -
[open] media_player_gst not working in fullscreen mode
by Daniel ·if frame in exp.sample_tms and frame != exp.prev_frame: #Update previous frame exp.prev_frame = frame #Set frame and timestamp exp.set('frame_timestamp', exp.time()) exp.set('frame', fr