-
Notifications
You must be signed in to change notification settings - Fork 678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
large negative jump in timestamps #1449
Comments
@cboulay Sorry for the delayed response. Have you been using hmd-eyes for this recording? Yes, you can readjust the timestamps. If you use offline pupil detection and calibration you will only need to adjust eye0_ and eye1_. If you want to make use of the recorded data, you will have to adjust pupil_ and gaze_, too. |
Hi Pablo. Yes, this is using hmd-eyes. |
As it turns out, Pupil Capture does allow time resets during a recording via Pupil Remote. Hmd-eyes uses this method to synchronize time before each calibration. This will be fixed in the upcoming versions of hmd-eyes and Capture. Until then, use this script to readjust the eye timestamps: https://gist.github.com/papr/c945076fa0fbea9c679646a335509486 Call CaveatsThis script does not adjust your gaze and pupil data. It is recommended to rerun offline pupil detection after running this script. |
Some of our data folders are refusing to load in Pupil Player. The printed error is "Could not generate world timestamps from eye timestamps. This is an invalid recording.". This is because we're failing the assertion in player_methods.py at Line 687 that
min_ts < max_ts
. Our timestamps start really high, then after 1100-1200 samples there is a large jump from ~74701 to ~34.I also have simultaneous LabstreamingLayer recordings.
It looks like the pupil internal timestamps started off using the same clock that LSL uses, then abruptly switched to something that looks like 'time since start'.
Can I safely modify the timestamps to remove this large step? Do I need to modify eye0_, eye1_, gaze_, and pupil_ or will Pupil Player rewrite the latter 2 as long as I fix the first 2?
How can we stop this from happening in the future?
The text was updated successfully, but these errors were encountered: