Department of Electrical and Computer Engineering, University of California, Los Angeles, Los Angeles, United States.
Department of Psychology, University of California, Los Angeles, Los Angeles, United States.
Elife. 2023 Jan 24;12:e78344. doi: 10.7554/eLife.78344.
Epifluorescence miniature microscopes ('miniscopes') are widely used for in vivo calcium imaging of neural population activity. Imaging data are typically collected during a behavioral task and stored for later offline analysis, but emerging techniques for online imaging can support novel closed-loop experiments in which neural population activity is decoded in real time to trigger neurostimulation or sensory feedback. To achieve short feedback latencies, online imaging systems must be optimally designed to maximize computational speed and efficiency while minimizing errors in population decoding. Here we introduce , an open-source device for real-time imaging and population decoding of in vivo calcium signals that is hardware compatible with all miniscopes that use the UCLA Data Acquisition (DAQ) interface. DeCalciOn performs online motion stabilization, neural enhancement, calcium trace extraction, and decoding of up to 1024 traces per frame at latencies of <50 ms after fluorescence photons arrive at the miniscope image sensor. We show that DeCalciOn can accurately decode the position of rats ( = 12) running on a linear track from calcium fluorescence in the hippocampal CA1 layer, and can categorically classify behaviors performed by rats ( = 2) during an instrumental task from calcium fluorescence in orbitofrontal cortex. DeCalciOn achieves high decoding accuracy at short latencies using innovations such as field-programmable gate array hardware for real-time image processing and contour-free methods to efficiently extract calcium traces from sensor images. In summary, our system offers an affordable plug-and-play solution for real-time calcium imaging experiments in behaving animals.
荧光微型显微镜(“miniscopes”)广泛用于体内神经元群体活动的钙成像。成像数据通常在行为任务期间收集并存储以供以后离线分析,但新兴的在线成像技术可以支持新型的闭环实验,其中神经元群体活动实时解码以触发神经刺激或感官反馈。为了实现短的反馈延迟,在线成像系统必须进行优化设计,以最大限度地提高计算速度和效率,同时最小化群体解码中的错误。在这里,我们介绍一种用于实时成像和体内钙信号群体解码的开源设备,该设备与使用 UCLA 数据采集(DAQ)接口的所有 miniscopes 硬件兼容。DeCalciOn 执行在线运动稳定、神经增强、钙迹提取和解码,在荧光到达 miniscope 图像传感器后,每帧的潜伏期<50ms 时,最多可处理 1024 个迹线。我们表明,DeCalciOn 可以从海马 CA1 层的钙荧光中准确解码在直线轨道上奔跑的大鼠(n=12)的位置,并且可以从眶额皮层的钙荧光中对大鼠(n=2)在仪器任务期间执行的行为进行分类。DeCalciOn 利用现场可编程门阵列硬件进行实时图像处理等创新技术和从传感器图像中高效提取钙迹的无轮廓方法,以短潜伏期实现高解码精度。总之,我们的系统为行为动物的实时钙成像实验提供了一种经济实惠的即插即用解决方案。