Skip to content

frazermi268/continuous-stats

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Continuous Statistics Plugin DOI

Plugin for the Open Ephys GUI to compute the exponentially weighted sliding mean or standard deviation of incoming continuous data.

Editor

Installing with CMake:

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>.

Installing without CMake:

  • 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.plugins to compile as usual.
  • Mac: Not currently implemented, but should be easy to setup as a standard plugin in XCode.

Usage:

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.

Testing:

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.

About

Plugin for the Open Ephys GUI to compute the exponentially weighted mean or standard deviation of incoming continuous data.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 70.1%
  • CMake 16.0%
  • MATLAB 10.5%
  • Makefile 3.4%