Skip to content

Commit 967c541

Browse files
committed
another typo
1 parent 52155f8 commit 967c541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/blackrockrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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-
: = self._nsx_basic_header[nsx_nb]["timestamp_resolution"] # clocks per sec uint64 or uint32
1085-
timestamps_in_seconds = raw_timestamps / timestamps_rate
1084+
timestamps_sampling_rate = self._nsx_basic_header[nsx_nb]["timestamp_resolution"] # clocks per sec uint64 or uint32
1085+
timestamps_in_seconds = raw_timestamps / timestamps_sampling_rate
10861086

10871087
time_differences = np.diff(timestamps_in_seconds)
10881088
gap_sample_indices = np.argwhere(time_differences > segmentation_threshold).flatten()

0 commit comments

Comments
 (0)