Skip to content

Commit

Permalink
Extract hardware timestamps by default for scene video
Browse files Browse the repository at this point in the history
  • Loading branch information
dourvaris committed Jul 23, 2024
1 parent cb5fb87 commit 672d501
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pupil_labs/rec_export/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,14 +484,14 @@ def _process_world(
export_path /= "world.csv"

ts_files = sorted(
list(recording.glob("PI world v1 ps*.time_aux"))
+ list(recording.glob("Neon Scene Camera v1 ps*.time_aux")),
list(recording.glob("PI world v1 ps*.time"))
+ list(recording.glob("Neon Scene Camera v1 ps*.time")),
key=_file_sorter_by_part,
)
if len(ts_files) == 0:
ts_files = sorted(
list(recording.glob("PI world v1 ps*.time"))
+ list(recording.glob("Neon Scene Camera v1 ps*.time")),
list(recording.glob("PI world v1 ps*.time_aux"))
+ list(recording.glob("Neon Scene Camera v1 ps*.time_aux")),
key=_file_sorter_by_part,
)
all_ts = []
Expand Down

0 comments on commit 672d501

Please sign in to comment.