» Articles » PMID: 37403146

PyGellermann: a Python Tool to Generate Pseudorandom Series for Human and Non-human Animal Behavioural Experiments

Overview
Journal BMC Res Notes
Publisher Biomed Central
Date 2023 Jul 4
PMID 37403146
Authors
Affiliations
Soon will be listed here.
Abstract

Objective: Researchers in animal cognition, psychophysics, and experimental psychology need to randomise the presentation order of trials in experimental sessions. In many paradigms, for each trial, one of two responses can be correct, and the trials need to be ordered such that the participant's responses are a fair assessment of their performance. Specifically, in some cases, especially for low numbers of trials, randomised trial orders need to be excluded if they contain simple patterns which a participant could accidentally match and so succeed at the task without learning.

Results: We present and distribute a simple Python software package and tool to produce pseudorandom sequences following the Gellermann series. This series has been proposed to pre-empt simple heuristics and avoid inflated performance rates via false positive responses. Our tool allows users to choose the sequence length and outputs a .csv file with newly and randomly generated sequences. This allows behavioural researchers to produce, in a few seconds, a pseudorandom sequence for their specific experiment. PyGellermann is available at https://github.com/YannickJadoul/PyGellermann .

Citing Articles

Vocal usage learning and vocal comprehension learning in harbor seals.

Duengen D, Jadoul Y, Ravignani A BMC Neurosci. 2024; 25(1):48.

PMID: 39367300 PMC: 11451073. DOI: 10.1186/s12868-024-00899-4.

References
1.
Erdsack N, Dehnhardt G, Hanke F . Serial visual reversal learning in harbor seals (Phoca vitulina). Anim Cogn. 2022; 25(5):1183-1193. PMC: 9617845. DOI: 10.1007/s10071-022-01653-1. View

2.
Watanabe S . Van Gogh, Chagall and pigeons: picture discrimination in pigeons and humans. Anim Cogn. 2014; 4(3-4):147-51. DOI: 10.1007/s100710100112. View

3.
Schluessel V, Kreuter N, Gosemann I, Schmidt E . Cichlids and stingrays can add and subtract 'one' in the number space from one to five. Sci Rep. 2022; 12(1):3894. PMC: 8971382. DOI: 10.1038/s41598-022-07552-2. View

4.
Herrera D, Trevino M . Undesirable Choice Biases with Small Differences in the Spatial Structure of Chance Stimulus Sequences. PLoS One. 2015; 10(8):e0136084. PMC: 4549334. DOI: 10.1371/journal.pone.0136084. View

5.
van der Werff J, Ravignani A, Jadoul Y . thebeat: A Python package for working with rhythms and other temporal sequences. Behav Res Methods. 2024; 56(4):3725-3736. PMC: 11133136. DOI: 10.3758/s13428-023-02334-8. View