weldx.transformations.cs_manager.CoordinateSystemManager.interp_time¶
-
CoordinateSystemManager.interp_time(time, time_ref=None, affected_coordinate_systems=None, in_place=False)¶ Interpolates the coordinate systems in time.
If no list of affected coordinate systems is provided, all systems will be interpolated to the same timeline.
- Parameters
time (
Union[DatetimeIndex,TimedeltaIndex,Quantity,ForwardRef]) – The target time for the interpolation. In addition to the supported time formats, the function also accepts a LocalCoordinateSystem astimesource object.time_ref (
Optional[Timestamp]) – A reference timestamp that can be provided if thetimeparameter is aTimedeltaIndex.affected_coordinate_systems (
Union[str,List[str],None]) – A single coordinate system name or a list of coordinate system names that should be interpolated in time. Only transformations towards the systems root node are affected.in_place (
bool) – IfTruethe interpolation is performed in place, otherwise a new instance is returned. (Default value = False)
- Returns
Coordinate system manager with interpolated data
- Return type