Result: The Lab Streaming Layer for Synchronized Multimodal Recording

Title:
The Lab Streaming Layer for Synchronized Multimodal Recording
Contributors:
University of California [San Diego] (UC San Diego), University of California (UC), Kielce University of Technology [Kielce]
Source:
Imaging Neuroscience, 2024, 3, ⟨10.1101/2024.02.13.580071⟩
Publisher Information:
CCSD; MIT Press, 2024.
Publication Year:
2024
Original Identifier:
HAL: hal-05388221
Document Type:
Journal article<br />Journal articles
Language:
English
ISSN:
2837-6056
Relation:
info:eu-repo/semantics/altIdentifier/doi/10.1101/2024.02.13.580071
DOI:
10.1101/2024.02.13.580071
Rights:
info:eu-repo/semantics/OpenAccess
Accession Number:
edshal.hal.05388221v1
Database:
HAL

Further Information

Accurately recording the interactions of humans or other organisms with their environment and other agents requires synchronized data access via multiple instruments, often running independently using different clocks. Active, hardware-mediated solutions are often infeasible or prohibitively costly to build and run across arbitrary collections of input systems. The Lab Streaming Layer (LSL) framework offers a software-based approach to synchronizing data streams based on per-sample time stamps and time synchronization across a common local area netowrk (LAN). Built from the ground up for neurophysiological applications and designed for reliability, LSL offers zero-configuration functionality and accounts for network delays and jitters, making connection recovery, offset correction, and jitter compensation possible. These features can ensure continuous, millisecond-precise data recording, even in the face of interruptions. In this paper, we present an overview of LSL architecture, core features, and performance in common experimental contexts. We also highlight practical considerations and known pitfalls when using LSL, including the need to take into account input device throughput delays that LSL cannot itself measure or correct. The LSL ecosystem has grown to support over 150 data acquisition device classes and to establish interoperability between client software written in several programming languages including C/C++, Python, MATLAB, Java, C#, JavaScript, Rust, and Julia. The resilience and versatility of LSL have made it a major data synchronization platform for multimodal human neurobehavioral recording, now supported by a wide range of software packages including major stimulus presentation tools, real-time analysis envirnoments, and brain-computer interface applications. Beyond basic science, research, and development, LSL has been used as a resilient and transparent back-end in deployment scenarios including interactive art installations, stage performances, and commercial products. In neurobehavioral studies and other neuroscience applications, LSL facilitates the complex task of capturing organismal dynamics and environmental changes occurring within and across multiple data streams on a common timeline.