Skip to content

Commit

Permalink
Add PPG topic (radar-schemas-0.1.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
fschulting committed Jun 4, 2024
1 parent 1659d4d commit da99092
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions commons/passive/polar/polar_ppg.avsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"namespace": "org.radarcns.passive.polar",
"type": "record",
"name": "PolarPpg",
"doc": "Data from PPG channels.",
"fields": [
{ "name": "deviceName", "type": "string", "doc": "Polar device name" },
{ "name": "time", "type": "long", "doc": "Device timestamp in UTC (ns)." },
{ "name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)." } ,
{ "name": "ppg0", "type": "int", "doc": "PPG0." },
{ "name": "ppg1", "type": "int", "doc": "PPG1." },
{ "name": "ppg2", "type": "int", "doc": "PPG2." },
{ "name": "ambient", "type": "int", "doc": "Ambient channel representing the background noise caused by other light sources, so it can be used to remove the background noise from ppg channels." }
]
}
7 changes: 7 additions & 0 deletions specifications/passive/polar-1.0.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ data:
processing_state: RAW
topic: android_polar_ecg
value_schema: .passive.polar.PolarEcg
- type: PPG
sample_rate:
dynamic: true
unit: UNKNOWN
processing_state: RAW
topic: android_polar_ppg
value_schema: .passive.polar.PolarPpg
- type: HEART_RATE
sample_rate:
frequency: 1
Expand Down

0 comments on commit da99092

Please sign in to comment.