We present a structured matrix factorization approach to analyzing calciumimaging recordings of large neuronal ensembles. Our goal is to simultaneouslyidentify the locations of the neurons, demix spatially overlapping components,and denoise and deconvolve