weldx.util.lcs_coords_from_ts¶
-
weldx.util.
lcs_coords_from_ts
(ts, time)¶ Create translation coordinates from a TimeSeries at specific timesteps.
- Parameters
ts (
TimeSeries
) – TimeSeries that describes the coordinate motion as a 3D vector.time (
Union
[DatetimeIndex
,Quantity
]) – Timestamps used for interpolation. TODO: add support for pd.DateTimeindex as well
- Returns
A DataArray with correctly labeled dimensions to be used for LCS creation.
- Return type