Skip to content

v0.6.0

Compare
Choose a tag to compare
@CagtayFabry CagtayFabry released this 29 Apr 10:46
· 167 commits to master since this release
b7f599a

0.6.0 (29.04.2022)

This release includes major changes to the handling and support of units in the API and ASDF schemas.
All classes now support and require quantities where appropriate. Plain numbers without units are no longer supported
and will raise an exception. If the number is truly dimensionless, you still have to wrap it with
the quantity class weldx.Q_ like this:

my_number = 42.0
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 .

added

  • DynamicShapeSegment [#713]
  • SpatialSeries and DynamicTraceSegment [#699]
  • first draft of the multi_pass_weld schema for WelDX files [#667]
  • add GenericSeries as base class supporting arrays and equations [#618]
  • add experimental unit support for .weldx.interp_like accessor [#518]
  • new tutorial series that introduces the most important WelDX features
    step by step based on a full example file [#555]
  • add path option to WeldxFile.info and WeldxFile.show_asdf_header [#555]

removed

  • removed access to WeldxFile.data [#744]

changes

  • The wx_property_tag validator now also accepts lists of different tags. [#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. [#684]
  • LocalCoordinateSystem and CoordinateSystemManager now support pint.Quantity as coordinates.
    Types without units are still supported but are deprecated. [#683]
  • Renamed show_asdf_header of WeldxFile to WeldxFile.header. [#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. [#697]
  • Reshape SpatialData coordinates to (-1, 3) before exporting with meshio for compatibility. [#723]
  • SpatialData, LocalCoordinateSystem and CoordinateSystemManager now require units [#731]

fixes

  • TimeSeries can now be serialized correctly when using absolute times [#677]

documentation

  • update PR link format in the changelog [#658]
  • new tutorial that describes how to work with workpiece data from a WelDX file [#681]

ASDF

  • update weldx extension and manifest version to 0.1.1 [#655]
  • removed legacy weldx tag and schema support [#600]
  • update core/geometry/spatial_data to version 0.1.1 with support for multidimensional data [#655]
  • add wx_shape validation support for core/data_array [#655]
  • update core/time_series schema to use time/time [#677]
  • update core/variable schema to allow single string as data [#707]
  • update the default sorting order of select_tag for WeldxConverter [#733]
  • add custom validation behavior to wx_unit [#739]

deprecations

  • Coordinates without units for LocalCoordinateSystem and CoordinateSystemManager

dependencies

  • weldx now works with Python-3.10. [#696]
  • bump to asdf >=2.8.2 [#668]
  • add pint-xarray dependency [#518]
  • bump to numpy>=1.20 (for numpy.typing) [#656]
  • bump to pint >=0.18 for typing [#664]
  • bump to xarray >=0.19 for array creation compatibility [#618]
  • add bidict dependency [#618]
  • set networkx !=2.7 for plotting compatibility (for now) [#714, #722]

What's Changed

New Contributors

Full Changelog: v0.5.2...v0.6.0