- class weldx.core.TimeSeries(data, time=None, interpolation=None, reference_time=None)#
Describes the behaviour of a quantity in time.
Construct a TimSeries.
MathematicalExpression]) – Either a pint.Quantity or a weldx.MathematicalExpression. If a mathematical expression is chosen, it is only allowed to have a single free variable, which represents time.
None]) – An instance of pandas.TimedeltaIndex if a quantity is passed and ‘None’ otherwise.
str]) – A string defining the desired interpolation method. This is only relevant if a quantity is passed as data. Currently supported interpolation methods are: ‘step’, ‘linear’.
Interpolate the TimeSeries in time.
Return the data of the TimeSeries.
Return the internal data as 'xarray.DataArray'.
Return the interpolation.
Trueif the time series is described by discrete values.
Trueif the time series is described by an expression.
Get the reference time.
Return the shape of the TimeSeries data.
Return the data's timestamps.
Return the units of the TimeSeries Data.