PyParadigm

PyParadigm provides a declarative framework for constructing computer-based experimental paradigms in experimental psychology, enabling concise specification of 2D stimuli and task requirements.


Key Features:

  • Declarative specification: Allows paradigms, stimuli, and task requirements to be described declaratively rather than imperatively.
  • Pygame integration: Built on top of pygame to leverage its rendering and input-management capabilities.
  • 2D display and interaction: Handles display and interaction with 2D objects and computer-generated stimuli.
  • Subject-interactive tasks: Supports construction of paradigms where subjects interact with tasks and on-screen stimuli.
  • Concise paradigm definitions: Enables specification of paradigms with reduced boilerplate code compared to traditional imperative approaches.
  • Cross-domain applicability: Applicable to any research or development context that requires management of 2D objects and stimuli beyond experimental psychology.

Scientific Applications:

  • Experimental psychology paradigms: Implementation of computer-based behavioral experiments in experimental psychology.
  • Subject-interaction experiments: Design of tasks in which subjects interact with computer-generated stimuli and responses are recorded.
  • 2D stimulus management in research: Use in research contexts requiring display and control of 2D objects and stimuli outside psychology.

Methodology:

Provides a declarative specification layer and uses pygame for 2D rendering and interaction with objects.

Topics

Details

License:
MIT
Programming Languages:
Python
Added:
11/14/2019
Last Updated:
12/11/2020

Operations

Publications

Knorr FG, Petzold J, Marxen M. PyParadigm—A Python Library to Build Screens in a Declarative Way. Frontiers in Neuroinformatics. 2019;13. doi:10.3389/fninf.2019.00059. PMID:31456680. PMCID:PMC6698780.

Documentation