PT - JOURNAL ARTICLE AU - Gonçalo Lopes AU - Niccolò Bonacchi AU - João Frazão AU - Joana Neto AU - Bassam Atallah AU - Sofia Soares AU - Luís Moreira AU - Sara Matias AU - Pavel M. Itskov AU - Patrícia Correia AU - Roberto Medina AU - Elena Dreosti AU - Joseph J. Paton AU - Adam R. Kampff TI - Bonsai: An event-based framework for processing and controlling data streams AID - 10.1101/006791 DP - 2014 Jan 01 TA - bioRxiv PG - 006791 4099 - http://biorxiv.org/content/early/2014/07/02/006791.short 4100 - http://biorxiv.org/content/early/2014/07/02/006791.full AB - The design of modern scientific experiments requires the control and monitoring of many parallel 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 processing data streams. We will describe Bonsai’s core principles and architecture while specifically highlighting some of the applications that were developed during one year of use in an active neuroscience research institute.