Open gabrielDiaz-performlab opened 6 years ago
Timelines can easily be integrated using the pyglui.ui.Timeline class. The offline calibration uses the same class. This is a quite recent feature and the ui is not that flexible yet that one can manipulate axes ranges etc. But this is planned for the mid/long term future. For now it is only possible to see Timelines for the complete recording.
I started implementing timelines to display different metrics: https://github.com/pupil-labs/pupil/compare/master...papr:metric_timelines?expand=1
Unfortunately, they are not isolated examples but I hope they help as a reference. :)
Thanks, Pablo. I'm just beginning to develop familiarity with the source, so perhaps I'll tackle this one at some point.
Gabriel J. Diaz, Ph.D. Assistant Professor Rochester Institute of Technology Chester F. Carlson Center for Imaging Science
Founder of PerForM Labs Click for demos. https://www.cis.rit.edu/performlab/
Office 2108, Building #76 Rochester, NY 14623 Office: (585) 475-6215 gabriel.diaz@rit.edu
On Tue, Jan 9, 2018 at 10:33 AM, Pablo Prietz notifications@github.com wrote:
I started implementing timelines to display different metrics: https://github.com/pupil-labs/pupil/compare/master...papr: metric_timelines?expand=1
Unfortunately, they are not isolated examples but I hope they help as a reference. :)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pupil-labs/pupil/issues/1001#issuecomment-356318773, or mute the thread https://github.com/notifications/unsubscribe-auth/AIi_2ya2ES9Gruq4K3NTHwq6ng1nKws2ks5tI4bfgaJpZM4RTP4q .
Ok, lets say I've created a function that calculates velocity of the cyclopean gaze vector from t-0.25seconds through t+0.25 seconds. ( I want to show the current velocity, plus the velocity a bit into the future). I'm using graph.Line_Graph() to plot.
I think this requires that more flexibility is added to the pyglui graph.Line_graph() class. I've opened a new pyglui issue to move this along. https://github.com/pupil-labs/pyglui/issues/89
I have implemented a timeline. The solution, however, has been held up by this related issue: https://github.com/pupil-labs/pupil/issues/1018
It would be great to see a timeline with an indicator of the current position. Vary valuable for fixation detection and determining the gaze event (eg. fixation/saccade), and also helpful when trying to find a period of fixation during the process of calibration via natural features.
This could be added as a transparent overlay. If someone implements this, it would be important that one can manipulate the axes ranges around the current time.