s
Station grid or path-parameter samples. Use a real finite vector; station-grid inputs are usually strictly increasing.
s_t = copp.interpolation.t_to_s_topp2(s, a, t_s)
s_t = copp.interpolation.t_to_s_topp2(s, a, t_s, dt=dt, t_sample=t_sample, t0=t0, include_final=include_final)
= copp.interpolation.t_to_s_topp2(S, A, T_S, dt=DT) samples a uniform time grid and delegates to t_to_s_topp2_uniform(). S, A, and T_S must have length N. A stores the TOPP2 node profile \(a(k) = (ds/dt)^2\).
= ...t_to_s_topp2(..., t_sample=T_SAMPLE) samples explicit times and delegates to t_to_s_topp2_samples(). T_SAMPLE has M elements, and S_T is returned as an M-by-1 double column vector.
Exactly one of dt or t_sample must be supplied. New code may call the explicit uniform/samples helpers directly.
sStation grid or path-parameter samples. Use a real finite vector; station-grid inputs are usually strictly increasing.
aSecond-order node profile. Element a(k) stores the squared path speed \((ds/dt)^2\) at station s(k).
t_sCumulative arrival time at each station, returned as an \(N \times 1\) double column vector.
dtUniform time step used to create sampling times from zero to the final traversal time. Default: []
t_sampleUser-provided time samples where \(\(s(t)\)\) should be evaluated. Default: []
t0Initial time offset added to the cumulative arrival-time grid. Default: 0
include_finalWhether sampling helpers should include the final time sample exactly. Default: true
s_tSampled path parameter values \(s(t)\).