Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.22755873Code and synthetic dataset accompanying Stern & Shea-Brown, "Temporal Deconvolution of Mesoscale Recordings." This work develops, adapts, and tests five deconvolution methods: Dynamically-Binning, Continuously-Varying, First-Differences, adapted Wiener filter, and Lucy-Richardson algorithm, to infer neuronal population spiking rates from fluorescence traces recorded in wide-field (mesoscale) calcium imaging. All methods build on a shared model in which observed fluorescence reflects an underlying calcium signal that decays at rate γ and increases with aggregate population spiking rate r. The Dynamically-Binning and Continuously-Varying methods solve a convex optimization problem (fused-lasso and quadratic penalties, respectively); First-Differences estimates the rate directly from consecutive fluorescence samples with smoothing; the Wiener Filter performs frequency-domain deconvolution using the known calcium decay kernel; Lucy-Richardson is the previously published iterative comparison method (Wekselblatt et al. 2016). synthetic_data.mat contains simulated ground-truth spiking rate traces (true_r, generated from a recurrent neural network) and their corresponding synthetic fluorescence traces (y), produced using the paper's model with a calcium decay constant of γ = 0.95. This dataset underlies the simulation results in Figures 1 and 2 of the paper. MATLAB function files implement the five deconvolution methods: dynbin (Dynamically-Binning), convar (Continuously-Varying), firdif (First-Differences), fft_wiener (Wiener Filter), and lucric (Lucy-Richardson). Test/benchmarking scripts (testdynbin_find_lambda_and_gamma.m, testconvar_find_lambda_and_gamma.m, testfirdif_find_smoothing_and_gamma.m, testwiener_find_snr_and_gamma.m, testlucy_find_iter_and_gamma.m, and dynbin_test_lambda_and_gamma.m) perform a grid search over each method's tuning parameter (penalty λ for Dynamically-Binning/Continuously-Varying, smoothing window for First-Differences, inverse SNR k for Wiener, iteration count for Lucy-Richardson) together with the calcium decay rate γ, applied to the synthetic dataset. They compute the mean absolute error (Eq. 18) and inferred rate fluctuations (Eq. 19) reported in Figures 1 and 2, reproducing the simulated-data parameter-selection and method-comparison analysis in the paper.
Keyword(s):
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)