Bonsai: an event-based framework for processing and controlling data streams
- PMID: 25904861
- PMCID: PMC4389726
- DOI: 10.3389/fninf.2015.00007
Bonsai: an event-based framework for processing and controlling data streams
Abstract
The design of modern scientific experiments requires the control and monitoring of many different data streams. However, the serial execution of programming instructions in a computer makes it a challenge to develop software that can deal with the asynchronous, parallel nature of scientific data. Here we present Bonsai, a modular, high-performance, open-source visual programming framework for the acquisition and online processing of data streams. We describe Bonsai's core principles and architecture and demonstrate how it allows for the rapid and flexible prototyping of integrated experimental designs in neuroscience. We specifically highlight some applications that require the combination of many different hardware and software components, including video tracking of behavior, electrophysiology and closed-loop control of stimulation.
Keywords: behavior control; data acquisition system; data stream processing; electrophysiology; open-source; parallel processing; rapid prototyping; video tracking.
Figures
Similar articles
-
New Open-Source Tools: Using Bonsai for Behavioral Tracking and Closed-Loop Experiments.Front Behav Neurosci. 2021 Mar 31;15:647640. doi: 10.3389/fnbeh.2021.647640. eCollection 2021. Front Behav Neurosci. 2021. PMID: 33867952 Free PMC article.
-
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
-
Falcon: a highly flexible open-source software for closed-loop neuroscience.J Neural Eng. 2017 Aug;14(4):045004. doi: 10.1088/1741-2552/aa7526. J Neural Eng. 2017. PMID: 28548044
-
Neural ensemble communities: open-source approaches to hardware for large-scale electrophysiology.Curr Opin Neurobiol. 2015 Jun;32:53-9. doi: 10.1016/j.conb.2014.11.004. Epub 2014 Dec 17. Curr Opin Neurobiol. 2015. PMID: 25528614 Free PMC article. Review.
-
A stream processing abstraction framework.Front Big Data. 2023 Oct 25;6:1227156. doi: 10.3389/fdata.2023.1227156. eCollection 2023. Front Big Data. 2023. PMID: 37953916 Free PMC article. Review.
Cited by
-
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.
-
The whisking oscillator circuit.Nature. 2022 Sep;609(7927):560-568. doi: 10.1038/s41586-022-05144-8. Epub 2022 Aug 31. Nature. 2022. PMID: 36045290 Free PMC article.
-
Parabrachial opioidergic projections to preoptic hypothalamus mediate behavioral and physiological thermal defenses.Elife. 2021 Mar 5;10:e60779. doi: 10.7554/eLife.60779. Elife. 2021. PMID: 33667158 Free PMC article.
-
Innate face-selectivity in the brain of young domestic chicks.Proc Natl Acad Sci U S A. 2024 Oct;121(40):e2410404121. doi: 10.1073/pnas.2410404121. Epub 2024 Sep 24. Proc Natl Acad Sci U S A. 2024. PMID: 39316055
-
Neuronal substrates of egg-laying behaviour at the abdominal ganglion of Drosophila melanogaster.Sci Rep. 2023 Dec 11;13(1):21941. doi: 10.1038/s41598-023-48109-1. Sci Rep. 2023. PMID: 38081887 Free PMC article.
References
-
- Bainomugisha E., Carreton A. L., Cutsem T., Van Mostinckx S., De Meuter W. (2013). A survey on reactive programming. ACM Comput. Surv. 45, 52:1–52:34 10.1145/2501654.2501666 - DOI
-
- Banzi M., Cuartielles D., Igoe T., Martino G., Mellis D. (2014). Arduino. Available online at: http://www.arduino.cc/
-
- Cook S., Jones G., Kent S., Wills A. C. (2007). Domain Specific Development with Visual Studio DSL Tools. Boston, MA: Addison-Wesley Professional.
-
- Elliott C., Vijayakumar V., Zink W., Hansen R. (2007). National instruments LabVIEW: a programming environment for laboratory automation and measurement. J. Lab. Autom. 12, 17–24 10.1016/j.jala.2006.07.012 - DOI
-
- Garrido-Jurado S., Munõz-Salinas R., Madrid-Cuevas F. J., Marín-Jiménez M. J. (2014). Automatic generation and detection of highly reliable fiducial markers under occlusion. Pattern Recognit. 47, 2280–2292 10.1016/j.patcog.2014.01.005 - DOI
LinkOut - more resources
Full Text Sources
Other Literature Sources
