_thisDir = os.path.dirname(os.path.abspath( file)) Import os # handy system and path functions Ensure that relative paths start from the same directory as this script Import numpy as np # whole numpy lib is available, prepend ‘np.’įrom numpy import sin, cos, tan, log, log10, pi, average, sqrt, std, deg2rad, rad2deg, linspace, asarrayįrom numpy.random import random, randint, normal, shuffle doi: 10.3389/neuro.11.010.2008įrom future import division # so that 1/3=0.333 instead of 1/3=0įrom psychopy import visual, core, data, event, logging, sound, guiįrom nstants import * # things like STARTED, FINISHED Peirce, JW (2009) Generating stimuli for neuroscience using PsychoPy. Journal of Neuroscience Methods, 162(1-2), 8-13. Peirce, JW (2007) PsychoPy - Psychophysics software in Python. If you publish work using this script please cite the relevant PsychoPy publications This experiment was created using PsychoPy2 Experiment Builder (v1.82.01), Sat Sep 15 15:51:35 2018 Also is this what you requested? (there wasn’t any custom code-to advanced for my knowledge of this). I don’t know any better way to describe it other than that. With that said once the trials (2 total) are setup and I click run (the green button) the experiment doesn’t load. Thanks Michael, I think the ‘lag’ as I describe might be normal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |