my_number_wrapped = weldx.Q_(my_number, "meter")
Furthermore, a new class called `GenericSeries` was added. It provides a common interface to describe coordinate-based
data either by discrete values or mathematical expressions. A built-in mechanism lets you derive specialized series with
specific requirements. For more information, have a look
[at the new tutorial](https://weldx.readthedocs.io/en/v0.6.0_a/tutorials/generic_series.html) .
Added
- `DynamicShapeSegment` \[{pull}`713`\]
- `SpatialSeries` and `DynamicTraceSegment` \[{pull}`699`\]
- first draft of the `multi_pass_weld` schema for WelDX files \[{pull}`667`\]
- add `GenericSeries` as base class supporting arrays and equations \[{pull}`618`\]
- add experimental unit support for `.weldx.interp_like` accessor \[{pull}`518`\]
- new tutorial series that introduces the most important WelDX features
step by step based on a full example file \[{pull}`555`\]
- add `path` option to `WeldxFile.info` and `WeldxFile.show_asdf_header` \[{pull}`555`\]
Removed
- removed access to `WeldxFile.data` \[{pull}`744`\]
Changes
- The `wx_property_tag` validator now also accepts lists of different tags. \[{pull}`670`\]
When multiple tags are passed, validation will fail if *none* of the supplied patterns match.
- Due to a `pandas` update, using the + operator with `Time` and either a `pandas.TimedeltaIndex` or `pandas.DatetimeIndex`
now only works if the `Time` instance is on the left-hand side. \[{pull}`684`\]
- `LocalCoordinateSystem` and `CoordinateSystemManager` now support `pint.Quantity` as coordinates.
Types without units are still supported but are deprecated. \[{pull}`683`\]
- Renamed show_asdf_header of `WeldxFile` to `WeldxFile.header`. \[{pull}`694`\]
- `WeldxFile.custom_schema` now accepts an optional tuple with the first element being a schema to validate upon read,
the second upon writing the data. \[{pull}`697`\]
- Reshape `SpatialData` coordinates to `(-1, 3)` before exporting with `meshio` for compatibility. \[{pull}`723`\]
- `SpatialData`, `LocalCoordinateSystem` and `CoordinateSystemManager` now require units \[{pull}`731`\]
Fixes
- `TimeSeries` can now be serialized correctly when using absolute times \[{pull}`677`\]
Documentation
- update PR link format in the changelog \[{pull}`658`\]
- new tutorial that describes how to work with workpiece data from a WelDX file \[{pull}`681`\]
ASDF
- update weldx extension and manifest version to `0.1.1` \[{pull}`655`\]
- removed legacy `weldx` tag and schema support \[{pull}`600`\]
- update `core/geometry/spatial_data` to version `0.1.1` with support for multidimensional data \[{pull}`655`\]
- add `wx_shape` validation support for `core/data_array` \[{pull}`655`\]
- update `core/time_series` schema to use `time/time` \[{pull}`677`\]
- update `core/variable` schema to allow single string as data \[{pull}`707`\]
- update the default sorting order of `select_tag` for `WeldxConverter` \[{pull}`733`\]
- add custom validation behavior to `wx_unit` \[{pull}`739`\]
deprecations
- Coordinates without units for `LocalCoordinateSystem` and `CoordinateSystemManager`
Dependencies
- `weldx` now works with Python-3.10. \[{pull}`696`\]
- bump to `asdf >=2.8.2` \[{pull}`668`\]
- add `pint-xarray` dependency \[{pull}`518`\]
- bump to `numpy>=1.20` (for numpy.typing) \[{pull}`656`\]
- bump to `pint >=0.18` for typing \[{pull}`664`\]
- bump to `xarray >=0.19` for array creation compatibility \[{pull}`618`\]
- add `bidict` dependency \[{pull}`618`\]
- set `networkx !=2.7` for plotting compatibility (for now) \[{pull}`714`, {pull}`722`\]