BioAmp-Python-Notebooks is an open-source collection of Python notebooks for biosignal processing, designed to make bio-potential signal analysis accessible to everyone. Whether you're working with BioAmp hardware or other acquisition systems, these notebooks provide complete workflows for processing and analyzing physiological signals.
- ECG Signal Processing: Complete pipeline for electrocardiogram analysis from acquisition to feature extraction
- EMG Signal Processing: End-to-end electromyography processing for muscle activity analysis
Perfect for:
- Students learning bio-potential signal processing
- Researchers needing reproducible analysis pipelines
- Developers building health-tech applications
- Hobbyists exploring physiological computing
This notebook guides you through every stage of ECG signal analysis:
- Library Imports - All necessary Python libraries
- Initialize Chords_USB Client - Connect to BioAmp boards
- Real-time ECG Data Acquisition - Collect data with live plotting
- Signal Processing - Notch and low-pass filtering
- ECG Analysis Pipeline using NeuroKit2:
- PQRST Complex Analysis
- ECG Beat Morphology
- Data Export - Save processed signals to CSV
- Stop Streaming - Terminate acquisition safely
This notebook provides comprehensive EMG signal processing:
- Library Imports - All necessary Python libraries
- Initialize Chords_USB Client - Connect to BioAmp boards
- Real-time EMG Data Acquisition - Collect data with live plotting
- Signal Processing:
- 50Hz notch filter for powerline noise removal
- 70Hz high-pass filter for EMG signal isolation
- Visualization:
- Raw vs filtered signal comparison
- Muscle activation envelope
- EMG Strength Meter - Real-time muscle activation level display
- Data Export - Save processed signals to CSV
- Stop Streaming - Terminate acquisition safely
- 🧑🎓 Students looking for hands-on biosignal processing
- 🧪 Researchers analyzing physiological data
- 💡 Developers building health-related applications
- ❤️ Hobbyists experimenting with bio-potential signals
- Clone this repository
git clone https://github.com/upsidedownlabs/BioAmp-Python-Notebooks.git
- Install required packages
pip install -r requirements.txt
- Run the Notebooks
- Open the
.ipynb
file in Jupyter Notebook/Lab - Follow each cell in sequence
- Open the
The repo will gradually include:
- EEG (Electroencephalogram) Feature Extraction
- EOG (Electrooculogram) Blink Detection
Stay tuned!
Contributions, issues, and suggestions are welcome! If you have your own notebooks or improvements, feel free to submit a pull request.