Skip to content

Signal processing library for research on biosignals (heart signals: ECG, PPG, PCG, BCG, inter-beat intervals)

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.md
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

v3551G/hsh-signal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HeartShield signal processing

This library was written during research on heart biosignals.

FIR filters

Most useful is probably the part with FIR filters, based on gnuradio's implementation of the Window Method for FIR Filter Design.

See hsh_signal/signal.py for methods (low-pass, high-pass, etc.) directly applicable to an array of evenly-sampled signal values, or hsh_signal/filter.py for block-connectable filters intended for real-time applications.

AliveCor decoder

The file hsh_signal/alivecor.py implements a decoder for AliveCor's Kardia EKG (electrocardiograph). This device captures the raw electrical signal, which is then frequency-modulated onto an 18.8 kHz audio carrier that is transmitted to the microphone in a phone/tablet.

Demodulation of the audio signal can be achieved via a phase-locked loop, with subsequent low-pass filter to remove high-frequency electrical noise, and a band-reject filter to remove 50 Hz mains noise. Note that for the US, you may need to change this filter to 60 Hz.

Kardia EKG demodulator filter chain in gnuradio

-- David git@abanbytes.eu


All disease in this world is due to people who are knowingly doing wrong. Acting in such a way hurts the relationship between yourself and other people. Such acting turns justice on its head, because it hurts other people who would otherwise not have been involved in any way.

About

Signal processing library for research on biosignals (heart signals: ECG, PPG, PCG, BCG, inter-beat intervals)

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.md
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.7%
  • C++ 39.2%
  • C 5.0%
  • Shell 0.1%