https://github.com/dczajkowski/agh-psi
https://github.com/dczajkowski/agh-psi
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dczajkowski/agh-psi
- Owner: DCzajkowski
- Created: 2019-06-13T19:03:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-18T11:54:13.000Z (over 6 years ago)
- Last Synced: 2025-01-10T03:12:27.208Z (about 1 year ago)
- Language: JavaScript
- Size: 6.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Prerequisities
- Node.js v11.15.0
- Python 3.7.3
- pip dependencies: natsort, biosppy, pandas, numpy
## Instruction
1. Include the directory with data (`2019-afcai-spring`). Only `2019-afcai-spring/bitalino` and `2019-afcai-spring/procedura` directories will be used.
2. Run files from 1 to 7 in order using Node and Python.
```bash
export PERSON_ID=5900
node 1-process.js $PERSON_ID > output/$PERSON_ID.csv
node 2-cut.js $PERSON_ID
node 3-transform-gsr.js $PERSON_ID
node 4-normalize-gsr.js $PERSON_ID
python3 5-final-shape-csv.py > output/final-shape.csv
node 6-ekg.js $PERSON_ID
python3 7-final.py output/final/final-shape.csv output/final/final.csv
```
3. Profit.