Skip to content

Commit

Permalink
FIX: adjusting timestamps before heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
genematx committed Aug 19, 2024
1 parent 065d607 commit ba3d552
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tpx3awkward/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ def _ingest_raw_data(data):
prev_ts[prev_ts < 2**33] += np.uint64(2**34)
_ts_0 += np.uint64(2**34)
ts[:photon_count] = prev_ts + (_ts - _ts_0)

# TODO: Do we want to adjust timestamps after SPIDR rollower even if no heartbeat was received at all?

hb_init_flag = False
photon_count += 1
Expand Down

0 comments on commit ba3d552

Please sign in to comment.