English
 
Help Privacy Policy Disclaimer
  Advanced SearchBrowse

Item

ITEM ACTIONSEXPORT

Released

Journal Article

Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments

MPS-Authors
/persons/resource/persons207149

Štih,  Vilim
Max Planck Research Group: Sensorimotor Control / Portugues, MPI of Neurobiology, Max Planck Society;

/persons/resource/persons245635

Petrucco,  Luigi
Max Planck Research Group: Sensorimotor Control / Portugues, MPI of Neurobiology, Max Planck Society;

/persons/resource/persons200358

Kist,  Andreas M.
Max Planck Research Group: Sensorimotor Control / Portugues, MPI of Neurobiology, Max Planck Society;

/persons/resource/persons145287

Portugues,  Ruben
Max Planck Research Group: Sensorimotor Control / Portugues, MPI of Neurobiology, Max Planck Society;

Fulltext (restricted access)
There are currently no full texts shared for your IP range.
Fulltext (public)

journal.pcbi.1006699.pdf
(Publisher version), 3MB

Supplementary Material (public)
There is no public supplementary material available
Citation

Štih, V., Petrucco, L., Kist, A. M., & Portugues, R. (2019). Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments. PLoS Computational Biology, 15(4): e1006699. doi:10.1371/journal.pcbi.1006699.


Cite as: https://hdl.handle.net/21.11116/0000-0005-BDBC-3
Abstract
We present Stytra, a flexible, open-source software package, written in Python and designed to cover all the general requirements involved in larval zebrafish behavioral experiments. It provides timed stimulus presentation, interfacing with external devices and simultaneous real-time tracking of behavioral parameters such as position, orientation, tail and eye motion in both freely-swimming and head-restrained preparations. Stytra logs all recorded quantities, metadata, and code version in standardized formats to allow full provenance tracking, from data acquisition through analysis to publication. The package is modular and expandable for different experimental protocols and setups. Current releases can be found at https://github.com/portugueslab/stytra. We also provide complete documentation with examples for extending the package to new stimuli and hardware, as well as a schema and parts list for behavioral setups. We showcase Stytra by reproducing previously published behavioral protocols in both head-restrained and freely-swimming larvae. We also demonstrate the use of the software in the context of a calcium imaging experiment, where it interfaces with other acquisition devices. Our aims are to enable more laboratories to easily implement behavioral experiments, as well as to provide a platform for sharing stimulus protocols that permits easy reproduction of experiments and straightforward validation. Finally, we demonstrate how Stytra can serve as a platform to design behavioral experiments involving tracking or visual stimulation with other animals and provide an example integration with the DeepLabCut neural network-based tracking method.