Related Experiment Video
Updated: Apr 14, 2026

A Flexible Platform for Monitoring Cerebellum-Dependent Sensory Associative Learning
Published on: January 19, 2022
Bonsai: an event-based framework for processing and controlling data streams
Gonçalo Lopes1, Niccolò Bonacchi1, João Frazão1
1Champalimaud Neuroscience Programme, Champalimaud Centre for the Unknown Lisbon, Portugal.
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.
Related Concept Videos
Upstream Processing
Rapidly Varying Flow
Sample Handling
Samples should be transported carefully from collection points to the laboratory. They should be properly sealed and clearly labeled to prevent cross-contamination. To preserve the sample integrity, optimal temperature conditions during transport are essential. This could involve using...
Parallel Processing
Data Reporting and Recording
Stream Function

