Format

Send to

Choose Destination
Behav Res Methods. 2007 Nov;39(4):950-8.

PyEPL: a cross-platform experiment-programming library.

Author information

1
University ofPennsylvania, Philadelphia, Pennsylvania 19104, USA.

Abstract

PyEPL (the Python Experiment-Programming Library) is a Python library which allows cross-platform and object-oriented coding of behavioral experiments. It provides functions for displaying text and images onscreen, as well as playing and recording sound, and is capable of rendering 3-D virtual environments forspatial-navigation tasks. It is currently tested for Mac OS X and Linux. It interfaces with Activewire USB cards (on Mac OS X) and the parallel port (on Linux) for synchronization of experimental events with physiological recordings. In this article, we first present two sample programs which illustrate core PyEPL features. The examples demonstrate visual stimulus presentation, keyboard input, and simulation and exploration of a simple 3-D environment. We then describe the components and strategies used in implementing PyEPL.

PMID:
18183912
PMCID:
PMC2839413
DOI:
10.3758/bf03192990
[Indexed for MEDLINE]
Free PMC Article

Supplemental Content

Full text links

Icon for PubMed Central
Loading ...
Support Center