Closed szzadkk closed 5 years ago
Same thing appears to happen in function compute_aligned_poses
(note the >=
sign):
Actually, frequency is the inverse of time. So "lower frequency" means <=
when comparing arrays in the time domain.
Actually, frequency is the inverse of time. So "lower frequency" means
<=
when comparing arrays in the time domain.
I made a mistake, and get it now, thank you!
Get the two mean time steps. Take the smaller one for the interpolation.
dt_A = np.mean(np.diff(times_A)) dt_B = np.mean(np.diff(times_B)) if dt_A >= dt_B: dt = dt_A else: dt = dt_B I note that the comment take the smaller one, but the code takes the bigger one....