Skip to content

FFT-based phase calculator (first release)

Compare
Choose a tag to compare
@ethanbb ethanbb released this 24 Jan 15:48
· 26 commits to master since this release

DOI

This is the first official "release" of the phase estimation plugin described here, which involves bandpass filtering the raw LFP, predicting some amount of future signal using an autoregressive model, and extracting the phase using the Hilbert transform.

  • Note: all channels are disabled by default - you must enable the ones you want to process by selecting them in the "param" section of the channel drawer.

Features:

  • If doing closed-loop stimulation, inputting a TTL event at stimulation times lets you monitor the precise phases of stimulation with a ~1s delay (open the visualizer in a tab or separate window to get started).
  • Can output the estimated magnitude or quadrature of the signal within the specified frequency range.
  • Length of Hilbert transform and of AR model prediction are fully customizable.