This is an implementation of the EMGFilters library by OYMotion in Rust.
Just like the OYMotion library, this library provides the following filters for processing sEMG signals.
- Anti-hum notch filter - for filtering out 50HZ or 60Hz power line noise
- Lowpass filter - filtering out noises above 150HZ
- Highpass filter - filtering out noises below 20HZ
Only input frequencies of 500HZ and 1000HZ are supported, but more can be added as needed.
Use the library from GitHub by adding the following to your Cargo.toml
emg-filter-rs = { git = "https://github.com/Devils-Prosthetics/emg-filter-rs" }
Differences from EMGFilters library by OYMotion
- It fixes issues, when used with multiple instances #7.
- It doesn't round from float to int multiple times unnecessarily, as a result, it should be more accurate.