weldx.core.GenericSeries.evaluate#

GenericSeries.evaluate(**kwargs)#

Evaluate the generic series at discrete coordinates.

If the GenericSeries is composed of discrete values, the data is interpolated using the specified interpolation method.

Expressions are simply evaluated if coordinates for all dimensions are provided which results in a new discrete GenericSeries. In case that some dimensions are left without coordinates, a new expression based GenericSeries is returned. The provided coordinates are stored as parameters and the corresponding dimensions are no longer variables of the new GenericSeries.

Parameters

kwargs – An arbitrary number of keyword arguments. The key must be a dimension name of the GenericSeries and the values are the corresponding coordinates where the GenericSeries should be evaluated. It is not necessary to provide values for all dimensions. Partial evaluation is also possible.

Returns

A new generic series with the (partially) evaluated data.

Return type

GenericSeries