The Trange argument (such as (t0, t1)) in the compute_trajectory function seems to require t0 and t1 to be exact matches of time values in velseq.t. Currently I need to do something like t0 = velseq.t[argmin(abs.(velseq.t .- t0))] to make sure t0 is accepted.
The Trange argument (such as (t0, t1)) in the compute_trajectory function seems to require t0 and t1 to be exact matches of time values in velseq.t. Currently I need to do something like
t0 = velseq.t[argmin(abs.(velseq.t .- t0))]to make sure t0 is accepted.