Holcombe:Programming: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Template:Holcombe}} | {{Template:Holcombe}} | ||
To understand Dani's programs, there are two steps. First, you must learn Spanish. | To understand Dani's programs, there are two steps. First, you must learn Spanish. | ||
Mostly the lab uses [http://www.visionegg.org VisionEgg] (also see [http://www.freelists.org/archives/visionegg/ mailing list] and [http://www.psychopy.org PsychoPy] python libraries to help draw stuff. | |||
==Python programming== | ==Python programming== | ||
Here [[Media:AudioAndUSBnotesWithPython.oo3]] is the file with all my notes on different ways to play a sound in Python and the associated latencies and standard deviations of the latencies--[[User:Alex O. Holcombe|Alex O. Holcombe]] 05:15, 25 June 2008 (UTC) | Here [[Media:AudioAndUSBnotesWithPython.oo3]] is the file with all my notes on different ways to play a sound in Python and the associated latencies and standard deviations of the latencies--[[User:Alex O. Holcombe|Alex O. Holcombe]] 05:15, 25 June 2008 (UTC) | ||
Revision as of 22:42, 24 June 2008
Recent members• Alex Holcombe
|
Projects• Testing Booth Calendar |
|
Technical• Skills Checklist |
Other• Plots,Graphs
|
To understand Dani's programs, there are two steps. First, you must learn Spanish.
Mostly the lab uses VisionEgg (also see mailing list and PsychoPy python libraries to help draw stuff.
Python programming
Here Media:AudioAndUSBnotesWithPython.oo3 is the file with all my notes on different ways to play a sound in Python and the associated latencies and standard deviations of the latencies--Alex O. Holcombe 05:15, 25 June 2008 (UTC)
Dr. Python is good because it checks indentation. Instead of using {} to delimit code blocks, it uses indentation like so: if X
asdf asdf
dddd ---Each line needs to be offset by the same number of spaces/tabs. Dr. Python checks to make sure this is true so you're not tripped up by invisible characters like tabs masquerading as spaces
if X
asdf
asdf