@@ -386,11 +386,13 @@ def __init__(
386
386
interpolation_time_bin_centers_s = motion .temporal_bins_s
387
387
interpolation_time_bin_edges_s = motion .temporal_bin_edges_s
388
388
else :
389
- interpolation_time_bin_centers_s , interpolation_time_bin_edges_s = ensure_time_bins ( # TODO: something is very wrong here with the typing
390
- interpolation_time_bin_centers_s , interpolation_time_bin_edges_s
389
+ interpolation_time_bin_centers_s , interpolation_time_bin_edges_s = (
390
+ ensure_time_bins ( # TODO: something is very wrong here with the typing
391
+ interpolation_time_bin_centers_s , interpolation_time_bin_edges_s
392
+ )
391
393
)
392
394
393
- assert len (recording ._recording_segments ) == 1 , "multi segment not supported" #??
395
+ assert len (recording ._recording_segments ) == 1 , "multi segment not supported" # ??
394
396
395
397
for segment_index , parent_segment in enumerate (recording ._recording_segments ):
396
398
# finish the per-segment part of the time bin logic
@@ -405,8 +407,8 @@ def __init__(
405
407
)
406
408
assert segment_interpolation_time_bin_edges_s .shape == (segment_interpolation_time_bins_s .shape [0 ] + 1 ,)
407
409
else :
408
- segment_interpolation_time_bins_s = interpolation_time_bin_centers_s # [segment_index]
409
- segment_interpolation_time_bin_edges_s = interpolation_time_bin_edges_s # [segment_index]
410
+ segment_interpolation_time_bins_s = interpolation_time_bin_centers_s # [segment_index]
411
+ segment_interpolation_time_bin_edges_s = interpolation_time_bin_edges_s # [segment_index]
410
412
411
413
rec_segment = InterpolateMotionRecordingSegment (
412
414
parent_segment ,
0 commit comments