RT Journal Article SR Electronic T1 Suite2p: beyond 10,000 neurons with standard two-photon microscopy JF bioRxiv FD Cold Spring Harbor Laboratory SP 061507 DO 10.1101/061507 A1 Marius Pachitariu A1 Carsen Stringer A1 Sylvia Schröder A1 Mario Dipoppa A1 L. Federico Rossi A1 Matteo Carandini A1 Kenneth D. Harris YR 2016 UL http://biorxiv.org/content/early/2016/06/30/061507.abstract AB The combination of two-photon microscopy recordings and powerful calcium-dependent fluorescent sensors enables simultaneous recording of unprecedentedly large populations of neurons. While these sensors have matured over several generations of development, computational methods to process their fluorescence remain inefficient and the results hard to interpret. Here, we introduce a set of practical methods based on novel clustering algorithms, and provide a complete pipeline from raw image data to neuronal calcium traces to inferred spike times. We formulate a generative model of the fluorescence image, incorporating spike times and a spatially smooth neuropil signal, and solve the inference and learning problems using a fast algorithm. This implementation scales linearly with the number of recorded cells, and the complete pipeline runs in approximately one hour for typical two-hour long recordings, on commodity GPUs. Furthermore, this method recovers twice as many cells as a previous standard method. This allowed us to routinely record and detect ~10,000 cells simultaneously from the visual cortex of awake mice using standard two-photon resonant-scanning microscopes. The software is publicly available at github.com/cortex-lab/Suite2P, together with a graphical user interface that allows rapid manual curation of the results.