A online whitening plugin for the Open Ephys GUI
This filter plugin implements online whitening on neural signal. It is useful for online spike detection. By default, it collect the first 10s of signal to estimate the whitening matrix, and then apply whitening online. The amount of data used to estimate the whitening matrix can be configured in the Buffer size
option in the plugin editor. The buffer can be reset by pressing the Reset buffer
button which will make the plugin estimate the whitening matrix again. The Apply whitening
toggle control whether online whitening is enabled. The whitening matrix is estimated using singular value decomposition.
Please follow the instruction in the Open Ephys wiki for building this plugin. This plugin is developed in Visual Studio 2019 in Windows. It should also works in other Visual Studio verions or OS, but they are not tested.
- This plugin only applys whitening on data channel, so the channel type must be set properly.
- After whitening, the signal amplitude will change, so you may want to adjust the signal range of the LFP Viewer accordingly.