pupil_recording_interface.merge_pupils

pupil_recording_interface.merge_pupils(pupils_eye0, pupils_eye1)

Merge detected pupils from both eyes, sorted by timestamp.

Parameters
  • pupils_eye0 (list of dict) – Detected pupils from the first eye.

  • pupils_eye1 (list of dict) – Detected pupils from the second eye.

Returns

pupils – Merged pupils.

Return type

list of dict