mountains-high / ecgheartbeat

ECG Heartbeat using Spiking Neural Networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ecgheartbeat

ECG Heartbeat using Spiking Neural Networks

execute the code from ipython and from the parent folder, as follow:



(venv) federico@nmorph1:~/ecgheartbeat$ ipython

In [1]: run python/ecg_to_spikes.py
adding recording id: 231
adding recording id: 219
adding recording id: 124
adding recording id: 209
adding recording id: 233
adding recording id: 116
adding recording id: 119
adding recording id: 212
adding recording id: 103
adding recording id: 210
adding recording id: 106
adding recording id: 113
adding recording id: 205
adding recording id: 222
adding recording id: 202
...

after processing all the files in the data folder, it will produce an output image.


This figure shows a sample of ECG signal converted into a temporal spikes train (2 channels). It also shows the reconstruction from the spike activity. Spike activity is obtained from a 2 channel delta modulator. Spikes from the UP and DN channels are shown in the subplot at the bottom.

About

ECG Heartbeat using Spiking Neural Networks


Languages

Language:Python 100.0%