Skip to content

Commit a2ac0e2

Browse files
committed
variable naming
1 parent 33312ce commit a2ac0e2

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-
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()

0 commit comments

Comments
 (0)