{"id":21623179,"url":"https://github.com/explooosion/ecg-convert","last_synced_at":"2026-05-09T01:36:24.177Z","repository":{"id":66234042,"uuid":"177534970","full_name":"explooosion/ecg-convert","owner":"explooosion","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-10T12:10:17.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T19:31:29.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/explooosion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-25T07:21:53.000Z","updated_at":"2019-05-10T12:10:18.000Z","dependencies_parsed_at":"2023-02-24T01:00:56.873Z","dependency_job_id":null,"html_url":"https://github.com/explooosion/ecg-convert","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/explooosion/ecg-convert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Fecg-convert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Fecg-convert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Fecg-convert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Fecg-convert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/explooosion","download_url":"https://codeload.github.com/explooosion/ecg-convert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/explooosion%2Fecg-convert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32804252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T00:11:54.443Z","updated_at":"2026-05-09T01:36:24.163Z","avatar_url":"https://github.com/explooosion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecg-sensor\n\n個人實驗專案，將 [ecg-sensor](https://github.com/explooosion/ecg-sensor) 進行資料轉換，用於 Matlab。\n\n以 Node.js 為後端，支援 `Windows`, `macOS`。\n\n1. [ecg-sensor](https://github.com/explooosion/ecg-sensor) - 接收設備資料之專案。\n2. [ecg-split](https://github.com/explooosion/ecg-split) - 將資料以指定分鐘數切割，用於計算 QRS 波。\n3. [ecg-convert](https://github.com/explooosion/ecg-convert) - 將資料轉換成純數值，用於 Matlab。\n\n### 資料準備\n\n將欲轉換的資料夾放置於 `src/data` 裡面，資料夾為 [ecg-sensor](https://github.com/explooosion/ecg-sensor) 所產生的 `stage` 資料夾，可一次放入多個進行轉換。 \n\n\n資料內容預期格式：\n\n```json\n[\n  { \"data\":81, \"time\":\"2019-01-25T15:47:12.425\" },  \n  { \"data\":310, \"time\":\"2019-01-25T15:47:12.430\" }\n]\n```\n\n## 執行\n\n```sh\nyarn start\n```\n\n#### 輸出資料\n\n輸出於 `out/` 資料夾。\n\n\n資料輸出預期格式：\n\n```sh\n81\n310\n295\n285\n321\n307\n277\n303\n297\n277\n...\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplooosion%2Fecg-convert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexplooosion%2Fecg-convert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexplooosion%2Fecg-convert/lists"}