Falcon: a highly flexible open-source software for closed-loop neuroscience
Open accessThe DOI matches its Crossref record; 11 of the 11 references it cites were found in a registry or an index.
Abstract
OBJECTIVE: Closed-loop experiments provide unique insights into brain dynamics and function. To facilitate a wide range of closed-loop experiments, we created an open-source software platform that enables high-performance real-time processing of streaming experimental data. APPROACH: We wrote Falcon, a C++ multi-threaded software in which the user can load and execute an arbitrary processing graph. Each node of a Falcon graph is mapped to a single thread and nodes communicate with each other through thread-safe buffers. The framework allows for easy implementation of new processing nodes and data types. Falcon was tested both on a 32-core and a 4-core workstation. Streaming data was read from either a commercial acquisition system (Neuralynx) or the open-source Open Ephys hardware, while closed-loop TTL pulses were generated with a USB module for digital output. We characterized the round-trip latency of our Falcon-based closed-loop system, as well as the specific latency contribution of the software architecture, by testing processing graphs with up to 32 parallel pipelines and eight serial stages. We finally deployed Falcon in a task of real-time detection of population bursts recorded live from the hippocampus of a freely moving rat. MAIN RESULTS: On Neuralynx hardware, round-trip latency was well below 1 ms and stable for at least 1 h, while on Open Ephys hardware latencies were below 15 ms. The latency contribution of the software was below 0.5 ms. Round-trip and software latencies were similar on both 32- and 4-core workstations. Falcon was used successfully to detect population bursts online with ~40 ms average latency. SIGNIFICANCE: Falcon is a novel open-source software for closed-loop neuroscience. It has sub-millisecond intrinsic latency and gives the experimenter direct control of CPU resources. We envisage Falcon to be a useful tool to the neuroscientific community for implementing a wide variety of closed-loop experiments, including those requiring use of complex data structures and real-time execution of computationally intensive algorithms, such as population neural decoding/encoding from large cell assemblies.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Brain–machine interfaces: past, present and future
Lebedev, M. A., & Nicolelis, M. A. L. (2006) · Trends in Neurosciences · doi:10.1016/j.tins.2006.07.004 · Cited by 1,875 · cited 1×
“Given its versatility and low round-trip latency against high-sampling high-count input streams, Falcon can also be deployed for controlling EEG-based BCIs and invasive brain – machine interfaces (BMIs) [45] with latency demands in the order of tens to hundreds of milliseconds.”
BackgroundHippocampal sharp wave-ripple: A cognitive biomarker for episodic memory and planning
Buzsáki, G. (2015) · Hippocampus · doi:10.1002/hipo.22488 · Cited by 1,759
Selective suppression of hippocampal ripples impairs spatial memory
Girardeau, G., Benchenane, K., Wiener, S. I., Buzsáki, G., & Zugaro, M. B. (2009) · Nature Neuroscience · doi:10.1038/nn.2384 · Cited by 1,560 · cited 1×
“For instance, while a value of 30–40 ms might be acceptable for detecting transient oscillatory patterns that last 70–100 ms, like hippocampal sharp-wave ripples [6, 35], the same value will be too high for a feedback based on the occurrence of an action potential.”
BackgroundAdaptive deep brain stimulation in advanced Parkinson disease.
Little, S., Pogosyan, A., Neal, S., Zavala, B., Zrinzo, L., Hariz, M., Foltynie, T., Limousin, P., Ashkan, K., FitzGerald, J., et al. (2013) · Annals of Neurology · doi:10.1002/ana.23951 · Cited by 1,374 · cited 1×
“Closed-loop approaches are also relevant in clinical settings, like neuroprosthetics [11], detection of seizure in epileptic patients [12] and adaptive deep brain stimulation protocols for Parkinson’s disease [13].”
BackgroundAwake hippocampal sharp-wave ripples support spatial memory
Jadhav, S. P., Kemere, C., German, P. W., & Frank, L. M. (2012) · Science · doi:10.1126/science.1217230 · Cited by 924 · cited 5×
“Nonetheless, the diversity of closed-loop experimental algorithms [4] and conditions (e.g. integration of video-monitoring with multi-channel electrophysiological recordings [5]) requires not only computational speed but also high flexibility.”
BackgroundMethodInfluentialDisruption of ripple‐associated hippocampal activity during rest impairs spatial learning in the rat
Ego‐Stengel, V., & Wilson, M. A. (2010) · Hippocampus · doi:10.1002/hipo.20707 · Cited by 842
Renard, Y., Lotte, F., Gibert, G., Congedo, M., Maby, E., Delannoy, V., Bertrand, O., & Lécuyer, A. (2010) · Presence: Teleoperators and Virtual Environments · doi:10.1162/pres.19.1.35 · Cited by 830
Hippocampal replay of extended experience
Davidson, T. J., Kloosterman, F., & Wilson, M. A. (2009) · Neuron · doi:10.1016/j.neuron.2009.07.027 · Cited by 806 · cited 2×
“…for real-time decoding of behavioral information (e.g. position of a freely moving animal) at tens of milliseconds time scales from population activity recorded on multi-electrode arrays [38, 39], for example with the intent to manipulate specific hippocampal reactivation patterns [5 – 7].”
BackgroundSelf-citationBCILAB: a platform for brain–computer interface development
Kothe, C. A., & Makeig, S. (2013) · Journal of Neural Engineering · doi:10.1088/1741-2560/10/5/056014 · Cited by 412
Explicit memory creation during sleep demonstrates a causal role of place cells in navigation
de Lavilléon, G., Lacroix, M. M., Rondi-Reig, L., & Benchenane, K. (2015) · Nature Neuroscience · doi:10.1038/nn.3970 · Cited by 279
Neural coding during active somatosensation revealed using illusory touch
O'Connor, D. H., Hires, S. A., Guo, Z. V., Li, N., Yu, J., Sun, Q.-Q., Huber, D., & Svoboda, K. (2013) · Nature Neuroscience · doi:10.1038/nn.3419 · Cited by 252 · cited 1×
“In contrast, experiments adopting a closed-loop paradigm, in which the stimulus is conditional on the state of neural activity [2 – 4], can causally determine the contribution of transient events to neural computations [5 – 10].”
Method
Cited by
The hippocampal sharp wave-ripple in memory retrieval for immediate use and consolidation
Joo, H. R., & Frank, L. M. (2018) · Nature Reviews Neuroscience · doi:10.1038/s41583-018-0077-1 · Cited by 430
The Role of Hippocampal Replay in Memory and Planning
Ólafsdóttir, H. F., Bush, D., & Barry, C. (2018) · Current Biology · doi:10.1016/j.cub.2017.10.073 · Cited by 413
“the rapid decoding of replay trajectories, and some progress towards this goal has already been made [154,155].”
BackgroundPost-learning hippocampal replay selectively reinforces spatial memory for highly rewarded locations
Michon, F., Sun, J.-J., Kim, C. Y., Ciliberti, D., & Kloosterman, F. (2019) · Current Biology · doi:10.1016/j.cub.2019.03.048 · Cited by 86
Self-citationChoi, J., Kwon, M., & Jun, S. C. (2020) · Sensors · doi:10.3390/s20102770 · Cited by 35
“Falcon [34] Linux Population neural signal en(de)coding Python, C++ Real-time spike pattern identification [90] Data Sources + Processing nodes + Feedback output https://bitbucket.”
BackgroundMethodBRAND: a platform for closed-loop experiments with deep network models
Ali, Y. H., Bodkin, K., Rigotti-Thompson, M., Patel, K., Card, N. S., Bhaduri, B., Nason-Tomaszewski, S. R., Mifsud, D. M., Hou, X., Nicolas, C., et al. (2024) · Journal of Neural Engineering · doi:10.1088/1741-2552/ad3b3a · Cited by 32
“Systems like Simulink Real-Time [6], RTXI [10], and Falcon [11] provide tight timing guarantees but lack the Python support that is essential for machine learning research.”
BackgroundMethod
Metadata
- Authors
- Ciliberti, D., & Kloosterman, F.
- Venue
- Journal of Neural Engineering
- Publisher
- IOP Publishing
- Published
- 2017-06-21
- Volume
- 14
- Issue
- 4
- Pages
- 045004
- ISSN
- 1741-2552 (ISSN-L)
- 1741-2560
- OpenAlex
- W2617500826
- Cited by
- 44
- References
- 11
- FWCI
- 3.44
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.