Skip to content

Non-linear Bayesian filtering for EMG Enveloppe Extraction

Notifications You must be signed in to change notification settings

ircam-ismm/bayesfilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INSTALLATION

Requirements

  • Swig
  • Python 2.7 + Numpy / Scipy (I think Numpy v1.8+ is required)

Building

move 'python' directory and type:

make
make install
make clean

To install in a specific location:

make install INSTALL_DIR=/path/to/install/location/

To specify swig location:

make install SWIG=/path/to/swig/

usage

Place the built python library somewhere in your python path. To add personal libraries located in '/Path/To/Libs' to the python path, add the following lines to your ".bash_profile":

PYTHONPATH=$PYTHONPATH:/Path/To/Libs
export PYTHONPATH

Basic usage:

import bayesfilter

filt = bayesfilter.BayesianFilter()
filt.init()

for t in RAW_EMG_MATRIX.shape[0]:
	envelope_at_t = filt.update(RAW_EMG_MATRIX[t,:])

credits

bayesfilter has been authored by Jules Françoise : jules.francoise@ircam.fr