This repository contains functions to analyse electromyography (EMG) signals.
To set up the project locally do the following:
- Clone the repository:
git clone https://github.com/imendezguerra/emg_toolbox.git
- Navigate to the project directory:
cd emg_toolbox
- Create the conda environment from the
environment.yml
file:conda env create -f environment.yml
- Activate the environment:
conda activate emg_toolbox
- Install toolbox
pip install -e .
The package is composed of the following modules:
tools.py
: Functions to deal with bad channels and rearrange EMG signals.prepro.py
: Functions for EMG preprocessing such as filtering.feats.py
: Functions to extract EMG features.freq.py
: Functions to analyse the EMG signals in the frequency domain.plots.py
: Functions to plot EMG signals
We welcome contributions! Here’s how you can contribute:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/newfeature
). - Commit your changes (
git commit -m 'Add some newfeature'
). - Push to the branch (
git push origin feature/newfeature
). - Open a pull request.
This project is licensed under the MIT License.
If you use this code in your research, please cite this repository:
@software{Mendez_Guerra_EMG_Toolbox,
author = {Mendez Guerra, Irene},
title = {{EMG Toolbox}},
url = {https://github.com/imendezguerra/EMG_toolbox},
version = {1.0}
}
For any questions or inquiries, please contact us at:
Irene Mendez Guerra
irene.mendez17@imperial.ac.uk