PyGellermann

PyGellermann generates pseudorandom trial sequences for behavioral experiments involving human and non-human animals with two possible correct responses, constraining exploitable patterns for controlled randomization.


Key Features:

  • Gellermann Series Implementation: Implements the Gellermann series to produce pseudorandom binary sequences that limit exploitable patterns and simple response heuristics.
  • Customizable Sequence Length: Generates sequences of user-defined length for experimental sessions.
  • Structured Output: Exports generated sequences in .csv format for integration with downstream behavioral data analysis workflows.

Scientific Applications:

  • Two-Choice Behavioral Paradigms: Controls trial order in experiments with binary correct responses to prevent pattern-based performance inflation and improve assessment of learning and cognitive processes.
  • Low-Trial Experiments: Reduces bias in studies with limited trial numbers where unrestricted randomization may produce predictable patterns.

Methodology:

Implements the Gellermann series to constrain binary trial sequences by limiting consecutive repetitions and distribution imbalance, counteracting simple participant heuristics and reducing false positive performance rates.

Topics

Details

License:
GPL-3.0
Cost:
Free of charge
Tool Type:
command-line tool, desktop application, library
Operating Systems:
Mac, Linux, Windows
Programming Languages:
Python
Added:
3/27/2024
Last Updated:
11/24/2024

Operations

Publications

Jadoul Y, Duengen D, Ravignani A. PyGellermann: a Python tool to generate pseudorandom series for human and non-human animal behavioural experiments. BMC Research Notes. 2023;16(1). doi:10.1186/s13104-023-06396-x. PMID:37403146. PMCID:PMC10320995.

PMID: 37403146
Funding: - Max-Planck-Gesellschaft: Max Planck Independent Group Leader funding