-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into release-0.3.1
- Loading branch information
Showing
7 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
"RADAIAN_PER_SEC", | ||
"RMSSD_IN_MILLI_SEC", | ||
"SECOND", | ||
"MICRO_VOLT", | ||
"UNKNOWN" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"namespace": "org.radarcns.passive.emotion", | ||
"type": "record", | ||
"name": "EmotionFarosAcceleration", | ||
"doc": "Data from 3-axis accelerometer sensor of a eMotion Faros device.", | ||
"fields": [ | ||
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (s)." }, | ||
{ "name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)." } , | ||
{ "name": "x", "type": "float", "doc": "Acceleration in the x-axis (g)." }, | ||
{ "name": "y", "type": "float", "doc": "Acceleration in the y-axis (g)." }, | ||
{ "name": "z", "type": "float", "doc": "Acceleration in the z-axis (g)." } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"namespace": "org.radarcns.passive.emotion", | ||
"type": "record", | ||
"name": "EmotionFarosBatteryLevel", | ||
"doc": "Battery level of a eMotion Faros device.", | ||
"fields": [ | ||
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (s)." }, | ||
{ "name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)." }, | ||
{ "name": "batteryLevel", "type": "float", "doc": "Battery level from 0 to 1. Note that the battery level is a rough estimate." } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"namespace": "org.radarcns.passive.emotion", | ||
"type": "record", | ||
"name": "EmotionFarosEcg", | ||
"doc": "Data from eMotion Faros' multi-channel electrocardiography electrodes. Not all Faros models possess the same number of channels, so the second and third channels are optional.", | ||
"fields": [ | ||
{ "name": "time", "type": "double", "doc": "Device timestamp in UTC (s)." }, | ||
{ "name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)." } , | ||
{ "name": "ecgChannel1", "type": "float", "doc": "ECG signal from the first channel (µV)." }, | ||
{ "name": "ecgChannel2", "type": ["null", "float"], "doc": "ECG signal from the second channel (µV). Null if the device does not have at least two channels.", "default": null }, | ||
{ "name": "ecgChannel3", "type": ["null", "float"], "doc": "ECG signal from the first channel (µV). Null if the device does not have at least two three channels.", "default": null } | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
commons/passive/emotion/emotion_faros_inter_beat_interval.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"namespace": "org.radarcns.passive.emotion", | ||
"type": "record", | ||
"name": "EmotionFarosInterBeatInterval", | ||
"doc": "Time between two successive R-peaks (RR-interval), as calculated by a eMotion Faros device from the ECG signal. You can compute the heart rate as (60 / ibi).", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "Device timestamp in UTC (s)." }, | ||
{"name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)." }, | ||
{"name": "interBeatInterval", "type": "float", "doc": "Duration (s) of the detected inter beat interval." } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"namespace": "org.radarcns.passive.emotion", | ||
"type": "record", | ||
"name": "EmotionFarosTemperature", | ||
"doc": "Data from an eMotion Faros' temperature sensor.", | ||
"fields": [ | ||
{"name": "time", "type": "double", "doc": "Device timestamp in UTC (s)." }, | ||
{"name": "timeReceived", "type": "double", "doc": "Device receiver timestamp in UTC (s)." }, | ||
{"name": "temperature", "type": "float", "doc": "Skin temperature (°C) converted from analog-to-digital converter (ADC) values. Conversion is reliable between 35 and 45 degrees Celcius." } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#====================================== Empatica E4 Wristband =====================================# | ||
vendor: eMotion | ||
model: Faros | ||
version: 1.0.0 | ||
app_provider: .emotion.FarosServiceProvider | ||
data: | ||
- type: ACCELEROMETER | ||
sample_rate: | ||
dynamic: true | ||
unit: G | ||
processing_state: RAW | ||
topic: android_emotion_faros_acceleration | ||
value_schema: .passive.emotion.EmotionFarosAcceleration | ||
- type: BATTERY | ||
sample_rate: | ||
dynamic: true | ||
unit: PERCENTAGE | ||
processing_state: RAW | ||
topic: android_emotion_faros_battery_level | ||
value_schema: .passive.empatica.EmpaticaE4BatteryLevel | ||
- type: ECG | ||
sample_rate: | ||
dynamic: true | ||
unit: MICRO_VOLT | ||
processing_state: RAW | ||
topic: android_emotion_faros_ecg | ||
value_schema: .passive.emotion.EmotionFarosEcg | ||
- type: INTER_BEAT_INTERVAL | ||
sample_rate: | ||
dynamic: true | ||
unit: SECOND | ||
processing_state: VENDOR | ||
topic: android_emotion_faros_inter_beat_interval | ||
value_schema: .passive.emotion.EmotionFarosInterBeatInterval | ||
- type: THERMOMETER | ||
sample_rate: | ||
dynamic: true | ||
unit: CELSIUS | ||
processing_state: VENDOR | ||
topic: android_emotion_faros_acceleration | ||
value_schema: .passive.emotion.EmotionFarosTemperature |