weldx.SpatialSeries.interp_like#
- static SpatialSeries.interp_like(obj, dimensions=None, accessor_mappings=None)#
Interpolate using the coordinates of another object.
- Parameters:
obj (
Any
) – An object that provides the coordinate values.dimensions (
Optional
[list
[str
]]) – The dimensions that should be interpolated. IfNone
is passed, all dimensions will be interpolatedaccessor_mappings (
Optional
[dict
]) – A mapping between the dimensions of the generic series and the corresponding coordinate accessor of the provided object. This can be used if the coordinate names do not match for the time series and the provided object.
- Returns:
A new generic series containing discrete values for the interpolated dimensions.
- Return type: