Related Experiment Video
Updated: Jan 9, 2026

Trajectory Data Analyses for Pedestrian Space-time Activity Study
Published on: February 25, 2013
opynfield: An Open-Source Python Package for the Analysis of Open Field Exploration Data
Ellen McMullen1,2, Miguel de la Flor3,4, Gemunu Gunaratne5
1Department of BioMolecular Sciences, School of Pharmacy, University of Mississippi, Oxford, MS, USA.
A new Python package, opynfield, enhances open field test analysis by introducing coverage and directional persistence measures. This provides deeper insights into animal exploration, learning, and anxiety by analyzing novel behaviors beyond simple movement.
Area of Science:
- Behavioral neuroscience
- Ethology
- Computational neuroscience
Background:
- The open field test is a standard method in behavioral neuroscience to study exploration, anxiety, and habituation.
- Traditional activity measures in open field tests are limited by confounds in locomotor abilities and offer indirect learning insights.
- Novel behavioral measures are needed to better characterize exploration and habituation to novelty.
Purpose of the Study:
- Introduce the opynfield Python package for advanced open field test data analysis.
- Incorporate novel metrics such as coverage and directional persistence (P++) for nuanced behavioral insights.
- Provide enhanced statistical approaches and data visualizations for comprehensive analysis.
Main Methods:
- Developed the opynfield Python package to calculate activity, coverage, and directional persistence (P++) from tracking data.
- Implemented new statistical methods and data visualization tools within the package.
- Validated the package using experimental data from Drosophila melanogaster and Mus musculus.
Main Results:
- opynfield successfully validates statistical tests and confirms coverage as a measure of novelty habituation.
- The package effectively characterizes behavioral differences in exploration for Drosophila melanogaster.
- Demonstrated utility in analyzing rodent exploration patterns from Mus musculus data.
Conclusions:
- The opynfield package offers a more nuanced understanding of animal exploration by leveraging full-density tracking data.
- Enhanced analysis of coverage and directional persistence provides improved insights into learning, locomotor activity, and anxiety.
- opynfield facilitates deeper investigation into animal behavior and habituation processes.
Related Concept Videos
GIS Software, Hardware, and Sources of GIS Data
Statistical Software for Data Analysis and Clinical Trials
Manipulation and Analysis
Statistical Package for the Social Sciences (SPSS)
SPSS streamlines the process from data preparation to analysis and reporting. It is characterized by its user-friendly interface, which conceals...

