New Open-Source Tools: Using Bonsai for Behavioral Tracking and Closed-Loop Experiments
- PMID: 33867952
- PMCID: PMC8044343
- DOI: 10.3389/fnbeh.2021.647640
New Open-Source Tools: Using Bonsai for Behavioral Tracking and Closed-Loop Experiments
Abstract
The ability to dynamically control a behavioral task based on real-time animal behavior is an important feature for experimental neuroscientists. However, designing automated boxes for behavioral studies requires a coordinated combination of mechanical, electronic, and software design skills which can challenge even the best engineers, and for that reason used to be out of reach for the majority of experimental neurobiology and behavioral pharmacology researchers. Due to parallel advances in open-source hardware and software developed for neuroscience researchers, by neuroscience researchers, the landscape has now changed significantly. Here, we discuss powerful approaches to the study of behavior using examples and tutorials in the Bonsai visual programming language, towards designing simple neuroscience experiments that can help researchers immediately get started. This language makes it easy for researchers, even without programming experience, to combine the operation of several open-source devices in parallel and design their own integrated custom solutions, enabling unique and flexible approaches to the study of behavior, including video tracking of behavior and closed-loop electrophysiology.
Keywords: behavior; neuroscience; open source; software; visual programming.
Copyright © 2021 Lopes and Monteiro.
Conflict of interest statement
GL is director at NeuroGEARS Limited. The remaining author declares that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Figures
Similar articles
-
Open source modules for tracking animal behavior and closed-loop stimulation based on Open Ephys and Bonsai.J Neural Eng. 2018 Oct;15(5):055002. doi: 10.1088/1741-2552/aacf45. Epub 2018 Jun 27. J Neural Eng. 2018. PMID: 29946057
-
Bonsai: an event-based framework for processing and controlling data streams.Front Neuroinform. 2015 Apr 8;9:7. doi: 10.3389/fninf.2015.00007. eCollection 2015. Front Neuroinform. 2015. PMID: 25904861 Free PMC article.
-
BonZeb: open-source, modular software tools for high-resolution zebrafish tracking and analysis.Sci Rep. 2021 Apr 14;11(1):8148. doi: 10.1038/s41598-021-85896-x. Sci Rep. 2021. PMID: 33854104 Free PMC article.
-
Open-source tools for behavioral video analysis: Setup, methods, and best practices.Elife. 2023 Mar 23;12:e79305. doi: 10.7554/eLife.79305. Elife. 2023. PMID: 36951911 Free PMC article. Review.
-
Open-source software for automated rodent behavioral analysis.Front Neurosci. 2023 Apr 17;17:1149027. doi: 10.3389/fnins.2023.1149027. eCollection 2023. Front Neurosci. 2023. PMID: 37139530 Free PMC article. Review.
Cited by
-
Low-Cost Platform for Multianimal Chronic Local Field Potential Video Monitoring with Graphical User Interface (GUI) for Seizure Detection and Behavioral Scoring.eNeuro. 2022 Oct 12;9(5):ENEURO.0283-22.2022. doi: 10.1523/ENEURO.0283-22.2022. Print 2022 Sep-Oct. eNeuro. 2022. PMID: 36192155 Free PMC article.
-
GoFish: A low-cost, open-source platform for closed-loop behavioural experiments on fish.Behav Res Methods. 2024 Jan;56(1):318-329. doi: 10.3758/s13428-022-02049-2. Epub 2023 Jan 9. Behav Res Methods. 2024. PMID: 36622558 Free PMC article.
-
Task-anchored grid cell firing is selectively associated with successful path integration-dependent behaviour.Elife. 2024 Mar 28;12:RP89356. doi: 10.7554/eLife.89356. Elife. 2024. PMID: 38546203 Free PMC article.
-
Development of a system to analyze oral frailty associated with Alzheimer's disease using a mouse model.Front Aging Neurosci. 2022 Aug 2;14:935033. doi: 10.3389/fnagi.2022.935033. eCollection 2022. Front Aging Neurosci. 2022. PMID: 35983379 Free PMC article.
-
VoDEx: a Python library for time annotation and management of volumetric functional imaging data.Bioinformatics. 2023 Sep 2;39(9):btad568. doi: 10.1093/bioinformatics/btad568. Bioinformatics. 2023. PMID: 37699009 Free PMC article.
References
-
- Carvalho F., Lopes G. (2019). Neurophotometrics. Available online at: https://github.com/neurophotometrics/neurophotometrics.
LinkOut - more resources
Full Text Sources
Other Literature Sources
