Cargando…
Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments
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 beh...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2019
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6472806/ https://www.ncbi.nlm.nih.gov/pubmed/30958870 http://dx.doi.org/10.1371/journal.pcbi.1006699 |
_version_ | 1783412315246297088 |
---|---|
author | Štih, Vilim Petrucco, Luigi Kist, Andreas M. Portugues, Ruben |
author_facet | Štih, Vilim Petrucco, Luigi Kist, Andreas M. Portugues, Ruben |
author_sort | Štih, Vilim |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-6472806 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2019 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-64728062019-05-03 Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments Štih, Vilim Petrucco, Luigi Kist, Andreas M. Portugues, Ruben PLoS Comput Biol Research Article 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. Public Library of Science 2019-04-08 /pmc/articles/PMC6472806/ /pubmed/30958870 http://dx.doi.org/10.1371/journal.pcbi.1006699 Text en © 2019 Štih et al http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Štih, Vilim Petrucco, Luigi Kist, Andreas M. Portugues, Ruben Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments |
title | Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments |
title_full | Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments |
title_fullStr | Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments |
title_full_unstemmed | Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments |
title_short | Stytra: An open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments |
title_sort | stytra: an open-source, integrated system for stimulation, tracking and closed-loop behavioral experiments |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6472806/ https://www.ncbi.nlm.nih.gov/pubmed/30958870 http://dx.doi.org/10.1371/journal.pcbi.1006699 |
work_keys_str_mv | AT stihvilim stytraanopensourceintegratedsystemforstimulationtrackingandclosedloopbehavioralexperiments AT petruccoluigi stytraanopensourceintegratedsystemforstimulationtrackingandclosedloopbehavioralexperiments AT kistandreasm stytraanopensourceintegratedsystemforstimulationtrackingandclosedloopbehavioralexperiments AT portuguesruben stytraanopensourceintegratedsystemforstimulationtrackingandclosedloopbehavioralexperiments |