pyWitness 1.0: A python eyewitness identification analysis toolkit

Behav Res Methods. 2024 Mar;56(3):1533-1550. doi: 10.3758/s13428-023-02108-2. Epub 2023 Jul 19.

Abstract

pyWitness is a python toolkit for recognition memory experiments, with a focus on eyewitness identification (ID) data analysis and model fitting. The current practice is for researchers to use different statistical packages to analyze a single dataset. pyWitness streamlines the process. In addition to conducting key data analyses (e.g., receiver operating characteristic analysis, confidence accuracy characteristic analysis), statistical comparisons, signal-detection-based model fits, simulated data generation, and power analyses are also possible. We describe the package implementation and provide detailed instructions and tutorials with datasets so that users can follow. There is also an online manual that is regularly updated. We developed pyWitness to be user-friendly, reduce human interaction with pre-processing and processing of data and model fits, and produce publication-ready plots. All pyWitness features align with open science practices, such that the algorithms, fits, and methods are reproducible and documented. While pyWitness is a python toolkit, it can also be used from R for users more accustomed to this environment.

Keywords: Confidence accuracy characteristic; Detection-plus-localization; Eyewitness; Memory; Receiver operating characteristic; Recognition memory; Signal detection theory; Visual search task.

MeSH terms

  • Algorithms
  • Data Analysis
  • Humans
  • Mental Processes*
  • ROC Curve
  • Recognition, Psychology*