Changes

Jump to navigation Jump to search
373 bytes added ,  10:22, 2 March 2018
no edit summary
Line 34: Line 34:  
   }}
 
   }}
 
}}
 
}}
 +
There will be a [http://tsgdoc.socsci.ru.nl/index.php?title=Workshop:_Python_for_social_scientists Psychopy workshop] again this year.
 +
 
PsychoPy is an alternative to Presentation, e-Prime and Inquisit. It is a Python library and application that allows presentation of stimuli and collection of data for a wide range of neuroscience, psychology and psychophysics experiments. When used on DCC computers PsychoPy is guaranteed to be millisecond accurate.
 
PsychoPy is an alternative to Presentation, e-Prime and Inquisit. It is a Python library and application that allows presentation of stimuli and collection of data for a wide range of neuroscience, psychology and psychophysics experiments. When used on DCC computers PsychoPy is guaranteed to be millisecond accurate.
   −
== Configuration ==
+
== Installation ==
=== Python Packages ===
+
{{see also|Psychopy installation}}
 +
Click [http://www.psychopy.org/installation.html here] for more information on installing PsychoPy. For Radboud Social Sciences specific instructions, visit the [[Psychopy installation]] page.
   −
Click [http://www.psychopy.org/installation.html here] for more information on installing PsychoPy. There is also a radboud social sciences specific [[Psychopy installation|instruction]].
  −
{| class="wikitable"
  −
|-
  −
! Python Library 
  −
! Version
  −
  −
|-
  −
| numpy || version 0.9.6 or greater
  −
|-
  −
| scipy || version 0.4.8 or greater
  −
|-
  −
| pyglet || version 1.1.4, not version 1.2
  −
|-
  −
| wxPython || version 2.8.10 or 2.8.11, not 2.9
  −
|-
  −
| Python Imaging Library || sudo easy_install PIL
  −
|-
  −
| matplotlib || for plotting and fast polygon routines
  −
|-
  −
| lxml || needed for loading/saving builder experiment files
  −
|-
  −
| openpyxl || for loading params from xlsx files
  −
|-
  −
| pyo || sound, version 0.6.2 or higher, compile with —-no-messages
  −
|}
      
== Learning PsychoPy ==
 
== Learning PsychoPy ==
* [https://www.socsci.ru.nl/~wilberth/psychopy/index.html psychopy tutorial website]
+
* [https://www.socsci.ru.nl/wilberth/psychopy/index.html psychopy tutorial website]
 
* [[PsychoPy-Matplotlib|Combining Psychopy and Matplotlib]]
 
* [[PsychoPy-Matplotlib|Combining Psychopy and Matplotlib]]
   Line 73: Line 51:     
== Troubleshooting ==
 
== Troubleshooting ==
 +
 +
==== Version Change to 1.85 ====
 +
 +
If you use audio in psychopy, but you do not choose the back-end yourself (this is the default method), then sound will be played in a different, more reliable way.
 +
This may lead to slightly larger but still small latency.We do not expect this to be problematic.
 +
If you have any questions about this, come to TSG.
 +
Do you use audio in psychopy and choose your own backend with the following line:
 +
 +
''prefs.general['audioLib'] = ['pyo']''
 +
 +
change this
 +
 +
''prefs.general['audioLib'] = ['sounddevice']''
 +
 +
This may lead to slightly larger but still small latency. We do not expect this to be problematic.
 +
 +
If you have any questions about this, come to TSG.
 +
 +
Also see: https://github.com/psychopy/psychopy/releases/tag/1.85.0
    
==== Version History ====
 
==== Version History ====

Navigation menu