Update README.md
Browse files
README.md
CHANGED
|
@@ -28,7 +28,6 @@ A multisite photoplethysmography (PPG) dataset: long-duration recordings from fo
|
|
| 28 |
|
| 29 |
For data preprocessing and baseline training code, see our GitHub repository: [anonymous-ppg/wearable-ppg-dataset](https://github.com/anonymous-ppg/wearable-ppg-dataset).
|
| 30 |
|
| 31 |
-
> **Submission note:** This is the **anonymized submission** release of the dataset.
|
| 32 |
|
| 33 |
---
|
| 34 |
|
|
@@ -67,7 +66,7 @@ Three main components ship in this repo:
|
|
| 67 |
Top-level tree:
|
| 68 |
|
| 69 |
```text
|
| 70 |
-
|
| 71 |
├── raw_data/
|
| 72 |
├── ppg_windowed_data/
|
| 73 |
├── sample_data/
|
|
@@ -145,7 +144,7 @@ pip install huggingface_hub numpy
|
|
| 145 |
from huggingface_hub import snapshot_download
|
| 146 |
|
| 147 |
snapshot_download(
|
| 148 |
-
repo_id="anonymous-ppg-dataset/
|
| 149 |
repo_type="dataset",
|
| 150 |
local_dir="multisite-ppg-submission",
|
| 151 |
allow_patterns="sample_data/*",
|
|
@@ -158,7 +157,7 @@ snapshot_download(
|
|
| 158 |
from huggingface_hub import snapshot_download
|
| 159 |
|
| 160 |
snapshot_download(
|
| 161 |
-
repo_id="anonymous-ppg-dataset/
|
| 162 |
repo_type="dataset",
|
| 163 |
local_dir="multisite-ppg-submission",
|
| 164 |
)
|
|
@@ -173,8 +172,8 @@ from pathlib import Path
|
|
| 173 |
import numpy as np
|
| 174 |
|
| 175 |
# Example file:
|
| 176 |
-
#
|
| 177 |
-
npz_path = Path("
|
| 178 |
|
| 179 |
with np.load(npz_path) as z: # allow_pickle=False by default
|
| 180 |
ppg_green = z["ppg_green"] # (N, T)
|
|
|
|
| 28 |
|
| 29 |
For data preprocessing and baseline training code, see our GitHub repository: [anonymous-ppg/wearable-ppg-dataset](https://github.com/anonymous-ppg/wearable-ppg-dataset).
|
| 30 |
|
|
|
|
| 31 |
|
| 32 |
---
|
| 33 |
|
|
|
|
| 66 |
Top-level tree:
|
| 67 |
|
| 68 |
```text
|
| 69 |
+
Multisite-PPG/
|
| 70 |
├── raw_data/
|
| 71 |
├── ppg_windowed_data/
|
| 72 |
├── sample_data/
|
|
|
|
| 144 |
from huggingface_hub import snapshot_download
|
| 145 |
|
| 146 |
snapshot_download(
|
| 147 |
+
repo_id="anonymous-ppg-dataset/Multisite-PPG",
|
| 148 |
repo_type="dataset",
|
| 149 |
local_dir="multisite-ppg-submission",
|
| 150 |
allow_patterns="sample_data/*",
|
|
|
|
| 157 |
from huggingface_hub import snapshot_download
|
| 158 |
|
| 159 |
snapshot_download(
|
| 160 |
+
repo_id="anonymous-ppg-dataset/Multisite-PPG",
|
| 161 |
repo_type="dataset",
|
| 162 |
local_dir="multisite-ppg-submission",
|
| 163 |
)
|
|
|
|
| 172 |
import numpy as np
|
| 173 |
|
| 174 |
# Example file:
|
| 175 |
+
# Multisite-PPG/ppg_windowed_data/P1/alignment_windows_P1_Earring.npz
|
| 176 |
+
npz_path = Path("Multisite-PPG/ppg_windowed_data/P1/alignment_windows_P1_Earring.npz")
|
| 177 |
|
| 178 |
with np.load(npz_path) as z: # allow_pickle=False by default
|
| 179 |
ppg_green = z["ppg_green"] # (N, T)
|