Holcombe:Psychopy

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
(Psychopy)
Current revision (19:58, 24 February 2012) (view source)
 
(8 intermediate revisions not shown.)
Line 4: Line 4:
=Psychopy=
=Psychopy=
-
For Psychopy, most will simply want to download the .dmg of the executable.  
+
Most will want to simply download the .dmg of the executable from the psychopy website.  
==Developers==
==Developers==
Developers can install a local version of the repository using github. See the instructions at the online psychopy documentation "for developers" section.
Developers can install a local version of the repository using github. See the instructions at the online psychopy documentation "for developers" section.
 +
Also see [http://groups.google.com/group/psychopy-dev/browse_thread/thread/a06b4a5e408d751f| these messages on the google group]
-
This requires installation of the python library dependencies. Once that is all done, execute psychopy in the terminal with something like
+
This requires installation of the python library dependencies. On OSX, rather than installing all the dependencies one by one, you can download and run the installer for the Enthought Python Distribution. At the time of this writing (Feb 2012), it's available for free to academics.
 +
Once that is done, execute psychopy in the terminal with something like
  python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py
  python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py
Line 16: Line 18:
  alias pp='python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py'
  alias pp='python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py'
   
   
-
Psychopy will only run if the location of the dependencies is in your PYTHONPATH. To your ~/.profile file, add a line like:
+
Psychopy will only run if the location of the dependencies is in your PYTHONPATH. Most of these will have been added by the Enthought Python Distrubtion installer, but not psychopy itself. To your ~/.profile file, add the path of psychopy itself with a line like:
  PYTHONPATH="/Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/:$PYTHONPATH
  PYTHONPATH="/Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/:$PYTHONPATH
 +
 +
z

Current revision

Members

Alex Holcombe
Sarah McIntyre
Fahed Jbarah
• Shih-Yu Lo
• Patrick Goodbourn
Lizzy Nguyen
Alumni


Technical

Skills Checklist
Python Programming
Psychopy/VisionEgg Installation Notes
R analysis,plot,stats
Statistics
Buttonbox
Verifying timing
Programming Cheat Sheets



VisionEgg installation notes

Psychopy

Most will want to simply download the .dmg of the executable from the psychopy website.

Developers

Developers can install a local version of the repository using github. See the instructions at the online psychopy documentation "for developers" section. Also see these messages on the google group

This requires installation of the python library dependencies. On OSX, rather than installing all the dependencies one by one, you can download and run the installer for the Enthought Python Distribution. At the time of this writing (Feb 2012), it's available for free to academics. Once that is done, execute psychopy in the terminal with something like

python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py

Rather than type that every time, create an alias, maybe called 'pp', by adding a line to your ~/.profile like this:

alias pp='python /Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/psychopy/app/psychopyApp.py'

Psychopy will only run if the location of the dependencies is in your PYTHONPATH. Most of these will have been added by the Enthought Python Distrubtion installer, but not psychopy itself. To your ~/.profile file, add the path of psychopy itself with a line like:

PYTHONPATH="/Users/alex/Documents/softwareStatsEquipment/programming_psychophysics/psychopy/:$PYTHONPATH
z
Views
Personal tools