Plugin for the Open Ephys GUI to compute the exponentially weighted sliding mean or standard deviation of incoming continuous data.
This plugin can now be built outside of the main GUI file tree using CMake. In order to do so, it must be in a sibling directory to plugin-GUI* and the main GUI must have already been compiled.
If you are already using CMake to build the main GUI (in development as of writing), you should switch to the cmake-gui branch to get the compatible plugin CMake build file.
See ContinuousStats/CMAKE_README.txt and/or the wiki page here for build instructions.
* If you have the GUI built somewhere else, you can specify its location by setting the environment variable GUI_BASE_DIR or defining it when calling cmake with the option -DGUI_BASE_DIR=<location>.
- All platforms: Copy contents of "ContinuousStats/Source" into a new folder in your "Source/Plugins" called "ContinuousStats".
- Windows: Copy contents of "ContinuousStats/LegacyBuildVS2013" into a new folder in your "Builds/VisualStudio2013/Plugins" called "ContinuousStats". In Visual Studio, with the Plugins solution open, right-click the solution, go to Add->Existing Project, then select the ContinuousStats.vcxproj file you just copied to add the new plugin. Then build as usual in Visual Studio.
- Linux: Use
make -f Makefile.pluginsto compile as usual. - Mac: Not currently implemented, but should be easy to setup as a standard plugin in XCode.
Use the drop-down box to select mean or standard deviation. The "time constant" controls how rapidly the sliding statistics decay; it equals how long it takes for the influence of a sample to drop to 1/e of its original value.
Channels can be included/excluded from processing by selecting/deselecting them in the "Param" section the drawer.
There is a test file in "Test" that allows you to compare the output of the plugin to the expected output (as implemented in MATLAB). See its header for more information.
