Published February 23, 2026 | Version v1.1.2
Software Open

EMGFlow: A Python package for preprocessing and feature extraction of electromyographic signals

  • 1. ROR icon University of Ontario Institute of Technology

Description

About EMGFlow

EMGFlow is an open-source Python package for preprocessing and extracting features from surface electromyographic (sEMG) signals. It has been designed to facilitate the analysis of large datasets through batch processing of signal files, a common requirement in machine learning.

Although several packages process physiological and neurological signals, support for sEMG has remained limited. Many lack a comprehensive feature set for sEMG, forcing researchers to use a patchwork of tools. Others focus on event detection with GUI-centric workflows that suit continuous recordings of a single participant, but complicate batch feature extraction common in machine learning.

EMGFlow, a portmanteau of EMG and Workflow, fills this gap by providing a flexible pipeline for extracting a wide range of sEMG features, with a scalable design suited for large datasets.

The current version of EMGFlow is v1.1.2. This version was archived for our accompany JOSS publication.

Getting Started

EMGFlow can be installed from PyPI:

pip install EMGFlow

EMGFlow extracts a comprehensive set of 33 statistical features from sEMG signals, achieved with only a few lines of code:

import EMGFlow as ef

# Get path dictionary
path_names = ef.make_paths()

# Load sample data
ef.make_sample_data(path_names)

# Preprocess signals (sample data recorded at 50 Hz mains)
ef.clean_signals(path_names, sampling_rate=2000, notch_f0=50)

# Plot data on the "EMG_zyg" column
ef.plot_dashboard(path_names, 'EMG_zyg', 'mV')

# Extract features to disk "Features.csv"
df = ef.extract_features(path_names, sampling_rate=2000)

Learn more

To learn more about EMGFlow, please visit the following resources:

Files

EMGFlow-1.1.2.zip

Files (3.2 MB)

Name Size Download all
md5:8cd7801bb981650da3264b357a53b19c
3.2 MB Preview Download

Additional details

Dates

Available
2026-02-23
Archived release

Software

Repository URL
https://github.com/WiIIson/EMGFlow-Python-Package
Programming language
Python
Development Status
Active