emotional-cities / pluma-experiments

Data acquisition and benchmark workflows for the wearable data collection unit
MIT License
1 stars 0 forks source link

Temporal benchmarks #3

Closed bruno-f-cruz closed 1 year ago

bruno-f-cruz commented 2 years ago

Consider the best clock is the BioData device, ideally from the hardware timestamped events (e.g. SynchPulse or 'Set' stream).

Specifically:

bruno-f-cruz commented 2 years ago

TinkerForge benchmark (f8e5b53): image

bruno-f-cruz commented 2 years ago

Empatica benchmarks (in 81e57cf) Processing algorithm (some negative latencies were removed because the algorithm fails to detect very slow LED ramps, ~ 1% fo all trials): image

image

bruno-f-cruz commented 2 years ago

Acceleromter benchmark (in 34a0fcd2d64054fdfba39b0234b5e8d175401f17): image

bruno-f-cruz commented 2 years ago

For the UBX, we can check how does the difference grow in the respective clocks of the digital input event injected in the UBX board. We have made the decision of aligning on the first pulse and let the error propagate. image

bruno-f-cruz commented 2 years ago

The best we can do for the pupil right now is to assume a stable frame rate (200hz) and calculate the drift by resetting on the first burned LED event. This results in roughly 1400frames (or 7 seconds) missing after ~20min of recording.

image

bruno-f-cruz commented 1 year ago

Microphone: The difference in the timestamp given in software to a buffer where we detect the TTL and the corresponding hardware-timestamped ttl:

WhatsApp Image 2023-03-25 at 19 50 25