Weldx

Latest version: v0.6.7

Safety actively analyzes 621142 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

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](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`\]

0.6.7

Added

- added `weldx.exceptions` module with `WeldxException` \[{pull}`871`\] .

Fixes

- fix compatibility with `pint=0.21` \[{pull}`876`\].
- fix typing compatibility with `pint=0.22` \[{pull}`880`\].
- add `read_buffer_context` and `write_read_buffer_context` to `weldx.asdf.util`
to fix tests accessing closed files. {issue}`873` \[{pull}`875`\].

Changes

- removed keyword `dummy_inline_arrays` from function `asdf.util.write_buffer`
as it was only used internally \[{pull}`875`\].

ASDF

- update `PintQuantityConverter` and `PintUnitConverter` class assignments for `pint=0.22` \[{pull}`880`\].
- use `ValidationError` from `asdf` instead of `jsonschema` \[{pull}`886`\].

Dependencies

- require `asdf>=2.15.1` \[{pull}`886`\]

0.6.6

Version `0.6.6` is a compatibility release for `xarray>=2023.4.0` .

Fixes

- explicitly keep reference time as xarray attribute in transformation and interpolation operations \[{pull}`868`\] .

Dependencies

- compatibility with `xarray=2023.4.0` and `pandas=2` \[{pull}`868`\] .

0.6.5

Version `0.6.5` is a compatibility release to support new `asdf` and `xarray` and drops support for Python 3.8.
Please see the new minimal version requirements below.

Fixes

- fix non quantified xarray parameter inputs to `MathematicalExpression` \[{pull}`864`\].

Dependencies

- drop Python 3.8 support \[{pull}`866`\]
- require `xarray >= 2022.9.0`, as `LocalCoordinateSystem` now handles merges correctly \[{pull}`861`\].
- require `asdf>=2.15` for new extension style validator interface \[{pull}`863`\].
- require `scipy >=1.6.2` and `networkx >=2.8.2` \[{pull}`866`\]

ASDF

- Move validators to new extension style and remove legacy extension code \[{pull}`863`\].

0.6.4

Version `0.6.4` is a small maintenance release with no changes affecting user code.

Changes

- `WeldxFile` also shows its JSON widget header representation in a JupyterHub based environment \[{pull}`854`\].

ASDF

- remove preliminary validators from new style ASDF extension for compatibility with upcoming `asdf` changes \[{pull}`853`\].

0.6.3

Version `0.6.3` is a minor release to increase compatibility with Python 3.11 and `asdf 2.14`
with updates to the documentation structure and a new schema for video files.

Added

- New class to handle image sequence data and videos `weldx.util.media_file.MediaFile` \[{pull}`727`\].

Dependencies

- Pin `asdf<2.14` due to changes in the extension mechanism \[{pull}`828`\].
- Unpin `asdf` due to fix in `asdf 2.14.3` release \[{pull}`834`\].
- Unpin maximum Python version (again). \[{pull}`837`\].

Changes

- Remove outdated calls to `weldx.asdf.util.get_highest_tag_version` in
`TimeSeries` and `SpatialData` converters \[{pull}`831`\].
- Use Ruff in pre-commit-action \[{pull}`824`\].
- Use MyST-NB for documentation building \[{pull}`830`\].
- `WeldxFile` correctly determines whether to display the header via widgets or text \[{pull}`848`\].

ASDF

- update to `asdf://weldx.bam.de/weldx/schemas/core/file-0.1.1` \[{pull}`727`\]
- add `asdf://weldx.bam.de/weldx/schemas/core/media_file-0.1.0` \[{pull}`727`\]

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.