Repository for the resampler project: The main idea is to resample an Event-Based sampled signal in a smart way (opposed to linear resampling, the currently used technique)
Diffusion EB_ECG_Smart_Resampler (master)
Recent Commits
Recent Commits
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
33a5ad69a17c | zanoli | Merge branch 'master' of ssh://c4science.ch/source/EB_ECG_Smart_Resampler | Mar 1 2023 | ||||
ec0b909399df | zanoli | git is a baaaaad | Mar 1 2023 | ||||
96b15d8d4742 | zanoli | Merge branch 'master' of ssh://c4science.ch/source/EB_ECG_Smart_Resampler | Mar 1 2023 | ||||
d2d2cea87cd4 | zanoli | FML | Mar 1 2023 | ||||
70e7da61db71 | zanoli | Merge branch 'master' of ssh://c4science.ch/source/EB_ECG_Smart_Resampler | Feb 18 2022 | ||||
c2d65d11b95b | zanoli | minor corrections | Feb 18 2022 | ||||
b8eb117b58e5 | zanoli | compute srf test | Feb 18 2022 | ||||
0abaa8da62d8 | zanoli | Tidied the source directory, Added atwo custom scripts for templates… | Feb 5 2022 | ||||
dc92a5697bca | zanoli | corrected typos in the final results computation | Feb 2 2022 | ||||
e2736b2a3ce9 | zanoli | Added general results computation for each level | Feb 2 2022 | ||||
01612a9eafeb | zanoli | Modified printing statements to be clearer | Aug 9 2021 | ||||
6e7760f922c1 | zanoli | found and solved a condition that stalled the delineation | Aug 4 2021 | ||||
2ed8f4f252e8 | zanoli | decresed the maximum time given to ecgpuwave to complete from 20 to 7: this… | Aug 4 2021 | ||||
77b84640d2d9 | zanoli | Improved segment warping: solving a bug that wrongly overwrote some segments… | Aug 3 2021 | ||||
4ffe136cef7b | zanoli | now the time-weight in ddtw is parametrized and can be used at a param at launch | Jul 28 2021 |
README.md
README.md
This is the main repository for the smart resampler project. The data for this repository can be fond here: Dataset
To run this project:
- Make this directory the home directory for this project
- Download the Dataset and put it inside a "./data/dataRaw" folder
- Execute: `cd ./pre_proc`` `python3 pre_process.py [--cores used_cores]`` NOTE: by default, half of the cores will be used, the performed operations might be memory intensive so we suggest to use two or three cores
- To check DTW results on an ECG beat run: `cd ../src`` `python3 DTW_alligment.py [--file file_name][--beat beat_to_analyze (sequential)]``
used:
- DTIDistance for DTW
- WFDB
- eventBased
c4science · Help