File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1081,8 +1081,8 @@ def _read_nsx_dataheader_spec_v30_ptp(
10811081 # The raw timestamps are the indices of an ideal clock that ticks at `timestamp_resolution` times per second.
10821082 # We convert this indices to actual timestamps in seconds
10831083 raw_timestamps = struct_arr ["timestamps" ]
1084- ideal_clock_rate = self ._nsx_basic_header [nsx_nb ]["timestamp_resolution" ] # clocks per sec uint64 or uint32
1085- timestamps_in_seconds = raw_timestamps / ideal_clock_rate
1084+ timestamps_rate = self ._nsx_basic_header [nsx_nb ]["timestamp_resolution" ] # clocks per sec uint64 or uint32
1085+ timestamps_in_seconds = raw_timestamps / timestamps_rate
10861086
10871087 time_differences = np .diff (timestamps_in_seconds )
10881088 gap_sample_indices = np .argwhere (time_differences > segmentation_threshold ).flatten ()
You can’t perform that action at this time.
0 commit comments