weldx.GenericSeries.interp_like#

static GenericSeries.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. If None is passed, all dimensions will be interpolated

  • accessor_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:

GenericSeries