A state space modeling approach to real-time phase estimation

Elife. 2021 Sep 27:10:e68803. doi: 10.7554/eLife.68803.

Abstract

Brain rhythms have been proposed to facilitate brain function, with an especially important role attributed to the phase of low-frequency rhythms. Understanding the role of phase in neural function requires interventions that perturb neural activity at a target phase, necessitating estimation of phase in real-time. Current methods for real-time phase estimation rely on bandpass filtering, which assumes narrowband signals and couples the signal and noise in the phase estimate, adding noise to the phase and impairing detections of relationships between phase and behavior. To address this, we propose a state space phase estimator for real-time tracking of phase. By tracking the analytic signal as a latent state, this framework avoids the requirement of bandpass filtering, separately models the signal and the noise, accounts for rhythmic confounds, and provides credible intervals for the phase estimate. We demonstrate in simulations that the state space phase estimator outperforms current state-of-the-art real-time methods in the contexts of common confounds such as broadband rhythms, phase resets, and co-occurring rhythms. Finally, we show applications of this approach to in vivo data. The method is available as a ready-to-use plug-in for the Open Ephys acquisition system, making it widely available for use in experiments.

Keywords: EEG; LFP; human; neuroscience; phase; rat; real-time; rhythms.

Publication types

  • Research Support, N.I.H., Extramural

MeSH terms

  • Animals
  • Brain / physiology*
  • Electroencephalography*
  • Electrophysiological Phenomena
  • Humans
  • Models, Neurological*
  • Rats