weldx.Time.as_quantity#

Time.as_quantity(unit='s')#

Return the data as pint.Quantity.

Parameters

unit (str) – String that specifies the desired time unit for conversion.

Returns

Converted time quantity

Return type

pint.Quantity

Notes

from pandas Timedelta documentation: “The .value attribute is always in ns.” https://pandas.pydata.org/docs/reference/api/pandas.Timedelta.html