IMPORTANT: The Open Ephys GUI documentation has migrated to a new site – please visit https://open-ephys.github.io for the most up-to-date information.

Function

This plugin estimates the phase of inputs an input signal within a specified passband in real time. Its primary purpose is to enable closed-loop stimulation, typically in combination with the Crossing Detector and either the Pulse Pal or an external stimulation system that receives ZeroMQ events (for example, the LabVIEW implementation here). It can also output the magnitude or imaginary component of the band-limited analytic signal instead of the phase. (The "PH+MAG" mode outputs both phase and magnitude, in separate channels.) Finally, the visualization tab or window can receive TTL events and display the delayed but precise phase of a specified input at the event onset samples in a rose plot. This allows real-time monitoring of stimulation accuracy.

Parameters saved

Frequency range, Low cut, High cut, AR Refresh, Order, and Signal Output.

Attribution

Originally developed by Ethan Blackwood (ethanbb) at Translational NeuroEngineering Laboratory.

Currently maintained by Mark Schatza (markschatza@gmail.com)

Source Code

Original repository: https://github.com/tne-lab/phase-calculator

Open Ephys forked repository: https://github.com/open-ephys-plugins/phase-calculator