{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,27]],"date-time":"2026-02-27T06:23:08Z","timestamp":1772173388840,"version":"3.50.1"},"update-to":[{"DOI":"10.1371\/journal.pcbi.1012603","type":"new_version","label":"New version","source":"publisher","updated":{"date-parts":[[2025,6,25]],"date-time":"2025-06-25T00:00:00Z","timestamp":1750809600000}}],"reference-count":31,"publisher":"Public Library of Science (PLoS)","issue":"6","license":[{"start":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T00:00:00Z","timestamp":1750291200000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000006","name":"Office of Naval Research","doi-asserted-by":"publisher","award":["N00014-23-1-2729"],"award-info":[{"award-number":["N00014-23-1-2729"]}],"id":[{"id":"10.13039\/100000006","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["www.ploscompbiol.org"],"crossmark-restriction":false},"short-container-title":["PLoS Comput Biol"],"abstract":"<jats:p>\n                    Calcium imaging techniques, such as two-photon imaging, have become a powerful tool to explore the functions of neurons and the connectivity of their circuitry. Frequently, fluorescent calcium indicators are taken as a direct measure of neuronal activity. These indicators, however, are slow relative to behavior, obscuring functional relationships between an animal\u2019s movements and the true neuronal activity. As a consequence, the firing rate of a neuron is a more meaningful metric. Converting calcium imaging data to the firing of a neuron is nontrivial. Most state-of-the-art methods depend largely on non-mechanistic modeling frameworks such as neural networks, which do not illuminate the underlying chemical exchanges within the neuron, require significant data to be trained on, and cannot be implemented in real-time. Leveraging modeling frameworks from chemical reaction networks (CRN) coupled with a control theoretic approach, a new algorithm is presented leveraging a fully deterministic ordinary differential equation (ODE) model. This framework utilizes model predictive control (MPC) to challenge state-of-the-art correlation scores while retaining interpretability. Furthermore, these computations can be done in real time, thus, enabling online experimentation informed by neuronal firing rates. To demonstrate the use cases of this architecture, it is tested on ground truth datasets courtesy of the\n                    <jats:italic>spikefinder<\/jats:italic>\n                    challenge. Finally, we propose potential applications of the model for guiding experimental design.\n                  <\/jats:p>","DOI":"10.1371\/journal.pcbi.1012603","type":"journal-article","created":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T13:21:18Z","timestamp":1750339278000},"page":"e1012603","update-policy":"https:\/\/doi.org\/10.1371\/journal.pcbi.corrections_policy","source":"Crossref","is-referenced-by-count":2,"title":["Predicting neuronal firing from calcium imaging using a control theoretic approach"],"prefix":"10.1371","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0009-0004-1478-0527","authenticated-orcid":true,"given":"Nicholas A.","family":"Rondoni","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Fan","family":"Lu","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8020-0170","authenticated-orcid":true,"given":"Daniel B.","family":"Turner-Evans","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Marcella","family":"Gomez","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"340","published-online":{"date-parts":[[2025,6,19]]},"reference":[{"issue":"3","key":"pcbi.1012603.ref001","doi-asserted-by":"crossref","first-page":"195","DOI":"10.1038\/nrn2338","article-title":"Imaging in vivo: watching the brain in action","volume":"9","author":"JND Kerr","year":"2008","journal-title":"Nat Rev Neurosci"},{"key":"pcbi.1012603.ref002","doi-asserted-by":"crossref","first-page":"22","DOI":"10.1016\/j.conb.2018.11.005","article-title":"Computational processing of neural recordings from calcium imaging data","volume":"55","author":"C Stringer","year":"2019","journal-title":"Curr Opin Neurobiol"},{"issue":"2","key":"pcbi.1012603.ref003","doi-asserted-by":"crossref","first-page":"636","DOI":"10.1016\/j.bpj.2008.08.005","article-title":"Spike inference from calcium imaging using sequential Monte Carlo methods","volume":"97","author":"JT Vogelstein","year":"2009","journal-title":"Biophys J"},{"issue":"3","key":"pcbi.1012603.ref004","doi-asserted-by":"crossref","first-page":"471","DOI":"10.1016\/j.neuron.2016.04.014","article-title":"Benchmarking spike rate inference in population calcium imaging","volume":"90","author":"L Theis","year":"2016","journal-title":"Neuron"},{"key":"pcbi.1012603.ref005","doi-asserted-by":"crossref","first-page":"12190","DOI":"10.1038\/ncomms12190","article-title":"Accurate spike estimation from noisy calcium signals for ultrafast three-dimensional imaging of large neuronal populations in vivo","volume":"7","author":"T Deneux","year":"2016","journal-title":"Nat Commun"},{"issue":"4","key":"pcbi.1012603.ref006","doi-asserted-by":"crossref","first-page":"709","DOI":"10.1093\/biostatistics\/kxy083","article-title":"Fast nonconvex deconvolution of calcium imaging data","volume":"21","author":"SW Jewell","year":"2020","journal-title":"Biostatistics"},{"issue":"3","key":"pcbi.1012603.ref007","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pcbi.1005423","article-title":"Fast online deconvolution of calcium imaging data","volume":"13","author":"J Friedrich","year":"2017","journal-title":"PLoS Comput Biol"},{"issue":"3","key":"pcbi.1012603.ref008","doi-asserted-by":"crossref","first-page":"471","DOI":"10.1016\/j.neuron.2016.04.014","article-title":"Benchmarking spike rate inference in population calcium imaging","volume":"90","author":"L Theis","year":"2016","journal-title":"Neuron"},{"issue":"37","key":"pcbi.1012603.ref009","doi-asserted-by":"crossref","first-page":"7976","DOI":"10.1523\/JNEUROSCI.3339-17.2018","article-title":"Robustness of spike deconvolution for neuronal calcium imaging","volume":"38","author":"M Pachitariu","year":"2018","journal-title":"J Neurosci"},{"issue":"5","key":"pcbi.1012603.ref010","doi-asserted-by":"crossref","first-page":"1014","DOI":"10.1038\/s41593-024-01595-6","article-title":"Real-time analysis of large-scale neuronal imaging enables closed-loop investigation of neural dynamics","volume":"27","author":"C-F Shang","year":"2024","journal-title":"Nat Neurosci"},{"issue":"10","key":"pcbi.1012603.ref011","doi-asserted-by":"crossref","DOI":"10.1523\/ENEURO.0079-24.2024","article-title":"NeuroART: real-time analysis and targeting of neuronal population activity during calcium imaging for informed closed-loop experiments","volume":"11","author":"Z Bowen","year":"2024","journal-title":"eNeuro"},{"issue":"3","key":"pcbi.1012603.ref012","doi-asserted-by":"crossref","first-page":"335","DOI":"10.1016\/0005-1098(89)90002-2","article-title":"Model predictive control: theory and practice\u2014a survey","volume":"25","author":"CE Garcia","year":"1989","journal-title":"Automatica"},{"issue":"1","key":"pcbi.1012603.ref013","doi-asserted-by":"crossref","first-page":"1535","DOI":"10.1038\/s41467-017-01683-1","article-title":"Shaping bacterial population behavior through computer-interfaced control of individual cells","volume":"8","author":"R Chait","year":"2017","journal-title":"Nat Commun"},{"issue":"1","key":"pcbi.1012603.ref014","doi-asserted-by":"crossref","first-page":"2199","DOI":"10.1038\/s41467-022-29888-z","article-title":"Enabling reactive microscopy with MicroMator","volume":"13","author":"ZR Fox","year":"2022","journal-title":"Nat Commun"},{"key":"pcbi.1012603.ref015","volume-title":"Mathematical models of chemical reactions\u202f: theory and applications of deterministic and stochastic models","author":"P \u00c9rdi","year":"1989"},{"key":"pcbi.1012603.ref016","article-title":"Correction to: foundations of chemical reaction network theory","volume-title":"Applied mathematical sciences","author":"M Feinberg","year":"2022"},{"key":"pcbi.1012603.ref017","doi-asserted-by":"crossref","DOI":"10.1093\/oso\/9780195104912.001.0001","volume-title":"Biophysics of computation","author":"C Koch","year":"1998"},{"key":"pcbi.1012603.ref018","volume-title":"Predictive control: with constraints","author":"JM Maciejowski","year":"2002"},{"key":"pcbi.1012603.ref019","doi-asserted-by":"crossref","first-page":"105676","DOI":"10.1016\/j.conengprac.2023.105676","article-title":"do-mpc: towards FAIR nonlinear and robust model predictive control","volume":"140","author":"F Fiedler","year":"2023","journal-title":"Control Eng Pract"},{"issue":"6","key":"pcbi.1012603.ref020","doi-asserted-by":"crossref","first-page":"789","DOI":"10.1016\/S0005-1098(99)00214-9","article-title":"Constrained model predictive control: stability and optimality","volume":"36","author":"DQ Mayne","year":"2000","journal-title":"Automatica"},{"key":"pcbi.1012603.ref021","doi-asserted-by":"crossref","first-page":"65","DOI":"10.1023\/A:1019182903300","article-title":"Value iteration and optimization of multiclass queueing networks","volume":"32","author":"RR Chen","year":"1999","journal-title":"Queueing Syst"},{"issue":"5","key":"pcbi.1012603.ref022","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pcbi.1006157","article-title":"Community-based benchmarking improves spike rate inference from two-photon calcium imaging data","volume":"14","author":"P Berens","year":"2018","journal-title":"PLoS Comput Biol"},{"key":"pcbi.1012603.ref023","article-title":"Simultaneous imaging and loose-seal cell-attached electrical recordings from neurons expressing a variety of genetically encoded calcium indicators","author":"K Svoboda","year":"2015"},{"issue":"2","key":"pcbi.1012603.ref024","doi-asserted-by":"crossref","first-page":"127","DOI":"10.1088\/0954-898X_8_2_003","article-title":"Metric-space analysis of spike trains: theory, algorithms and application","volume":"8","author":"JD Victor","year":"1997","journal-title":"Netw: Comput Neural Syst"},{"issue":"6","key":"pcbi.1012603.ref025","doi-asserted-by":"crossref","first-page":"1495","DOI":"10.1162\/neco.2007.10-06-350","article-title":"A new multineuron spike train metric","volume":"20","author":"C Houghton","year":"2008","journal-title":"Neural Comput"},{"issue":"4","key":"pcbi.1012603.ref026","doi-asserted-by":"crossref","first-page":"751","DOI":"10.1162\/089976601300014321","article-title":"A novel spike distance","volume":"13","author":"M van Rossum","year":"2001","journal-title":"Neural Comput"},{"key":"pcbi.1012603.ref027","volume-title":"Model predictive control: theory, computation, and design","author":"JB Rawlings","year":"2017"},{"key":"pcbi.1012603.ref028","article-title":"Suite2p: beyond 10,000 neurons with standard two-photon microscopy","author":"M Pachitariu","year":"2017","journal-title":"bioRxiv"},{"key":"pcbi.1012603.ref029","doi-asserted-by":"crossref","first-page":"2","DOI":"10.1016\/j.neures.2020.05.013","article-title":"Genetically encoded calcium indicators to probe complex brain circuit dynamics in vivo","volume":"169","author":"M Inoue","year":"2021","journal-title":"Neurosci Res"},{"key":"pcbi.1012603.ref030","doi-asserted-by":"crossref","unstructured":"Lu F, Mathias J, Meyn S, Kalsi K. Convex Q-learning in continuous time with application to dispatch of distributed energy resources. In: 2023 62nd IEEE Conference on Decision and Control (CDC). IEEE; 2023. p. 1529\u201336.","DOI":"10.1109\/CDC49753.2023.10383620"},{"key":"pcbi.1012603.ref031","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-030-47845-2","volume-title":"An introduction to sequential Monte carlo","author":"N Chopin","year":"2020"}],"updated-by":[{"DOI":"10.1371\/journal.pcbi.1012603","type":"new_version","label":"New version","source":"publisher","updated":{"date-parts":[[2025,6,25]],"date-time":"2025-06-25T00:00:00Z","timestamp":1750809600000}}],"container-title":["PLOS Computational Biology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pcbi.1012603","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,25]],"date-time":"2025-06-25T14:35:58Z","timestamp":1750862158000},"score":1,"resource":{"primary":{"URL":"https:\/\/dx.plos.org\/10.1371\/journal.pcbi.1012603"}},"subtitle":[],"editor":[{"given":"Barbara","family":"Webb","sequence":"first","affiliation":[],"role":[{"role":"editor","vocabulary":"crossref"}]}],"short-title":[],"issued":{"date-parts":[[2025,6,19]]},"references-count":31,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2025,6,19]]}},"URL":"https:\/\/doi.org\/10.1371\/journal.pcbi.1012603","relation":{"has-preprint":[{"id-type":"doi","id":"10.1101\/2024.11.04.621814","asserted-by":"object"}]},"ISSN":["1553-7358"],"issn-type":[{"value":"1553-7358","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,19]]}}}