weldx.core.generic_series.SeriesParameter#

class weldx.core.generic_series.SeriesParameter(values, dim=None, symbol=None)#

Describes a parameter/coordinate of a Series and convert between formats.

The input value gets stored as either quantity or DataArray. (DataArray is stored ‘as is’, other inputs will be converted to quantities).

In addition, the desired dimension on the Parameter and an optional symbol representation for math expressions can be added.

The stored value can be converted to different formats available as properties.

Methods

Attributes

coord_tuple

Get the parameter in xarray coordinate tuple format.

data_array

Get the parameter formatted as xarray.

dim

The xarray dimension associated with the parameter.

quantity

Get the parameter formatted as a quantity.

symbol

The math expression symbol associated with the parameter.

units

Get the units information of the parameter.

values

The values of the parameter are stored as quantities or DataArrays