weldx.CoordinateSystemManager.interp_time#
- CoordinateSystemManager.interp_time(time=None, 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,datetime64,list[str],Time,TimedeltaIndex,Quantity,timedelta64,Timestamp,str,TimeDependent,None]) – The target time for the interpolation. In addition to the supported time formats, the function also accepts a LocalCoordinateSystem astimesource object.time_ref (
Union[Timestamp,str,Time,None]) – 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: