0.4.0
0.4.0 (13.07.2021)
Release 0.4.0
brings many new major features to weldx
Highlights
- Quality Standards:
Users can now create and integrate their own quality standards by defining new ASDF schema definitions and loading
them into weldx. It is possible to add new definitions or modify existing schemas to create your own flavour of the
weldx standard. - WeldxFile:
Create/Load/Modify asdf files directly usingWeldxFile
with many helpful utility functions included. - TimeSeries support
forLocalCoordinateSystem
:
It is now possible to define a time-dependentLocalCoordinateSystem
with a simple function by passing
aTimeSeries
object with aMathematicalExpression
ascoordinates
. For an example, click the link above. - MeasurementChain
TheMeasurementChain
has been reworked to be easier and more flexible to use.
full changelog below:
added
- add support for quality standards. Further information can be found in the corresponding new tutorial.
[#211] - added
asdf.util.get_schema_path
helper function [#325] - added
util.compare_nested
to check equality of two nested data
structures. [#328] - added
WeldxFile
wrapper to handle asdf files with history and schemas more
easily. [#341]. - add
"step"
as additional method toutil.xr_interp_like
[#363] - add
util.compare_nested_eq
decorator for dataclasses with array-like
fields [#378] - adds a
dataclass_serialization_class
utility function that automatically generates the asdf serialization class for
python dataclasses. [#380] - Added method to set the interpolation method to the
TimeSeries
[#353] - Add
is_discrete
andis_expression
properties toTimeSeries
[#366] - Add
MeasurementChain.output_signal
property that returns the output signal of theMeasurementChain
[#394]
changes
WXRotation.from_euler()
now accepts apint.Quantity
as input. [#318]- move tests folder to
weldx/tests
[#323] get_yaml_header
received a new option parse, which optionally returns the parsed YAML header
asasdf.tagged.TaggedDict
. [#338]- refactor
asdf_json_repr
intoview_tree
[#339] TimeSeries.interp_time
[#353]- now returns a new
TimeSeries
instead of axarray.DataArray
- if the data has already been interpolated before, a warning is emitted
TimeSeries
supports now all interpolation methods supported by xarray
- now returns a new
- The
MeasurementChain
is now internally based on anetworkx.DiGraph
. New functions are also added to the class to
simplify its usage. [#326]
The following additional changes were applied during the update of theMeasurementChain
:- renamed
DataTransformation
class toSignalTransformation
- renamed
Source
toSignalSource
- Added additional functionality to
Signal
,SignalTransformation
andGenericEquipment
- Removed
Data
class - Updated asdf schemas of all modified classes and the ones that contained references to those classes
- renamed
- allow input of string quantities in
MathematicalExpression
parameters and a few other
places [#402] [#416] LocalCoordinateSystem.__init__
now accepts aTimeSeries
as input. All methods of theCoordinateSystemManager
also support this new behavior [#366]- During the creation of a
WeldxFile
the path of a passed custom schema is resolved automatically
[#412].
documentation
ASDF
- fix inline array serialization for new 64bit inline limit [#218]
- add
yaml_tag_handles
toWeldxExtension
[#218] - add
uuid-1.0.0.yaml
schema as basic version 4 UUID
implementation [#330] - add
core/graph/di_node
,core/graph/di_edge
&core/graph/di_graph
for implementing a
genericnetworkx.DiGraph
[#330] - compatibility with ASDF-2.8 [#355]
- data attached to an instance of the
CoordinateSystemManger
is now also stored in a WelDX file
[#364] - replace references to base asdf tags with
-1.*
version wildcard [#373] - update
single-pass-weldx.1.0.0.schema
to allow groove types by
wildcard [#373] - fix attributes serialization of DataSet children [#384].
- update
wx_shape
syntax inlocal_coordinate_system-1.0.0
[#366] - add custom
wx_shape
validation tovariable-1.0.0
[#366] - remove outdated
TimeSeries
shape validation code [#399] - use asdf tag validation pattern for
wx_property_tag
[#410] - update
MathematicalExpression
schema [#410]
fixes
- added check for symmetric key difference for mappings
withutil.compare_nested
[#377]
deprecations
- deprecate
wx_tag
validator (use default asdf uri pattern
matching) [#410]
Merged PRs
- add unit support to WXRotation by @CagtayFabry in #318
- enforce agg backend during testing (windows) by @marscher in #322
- Remove rotation_matrix_* functions by @vhirtham in #317
- Move tests folder by @CagtayFabry in #323
- add pytest run to conda build by @CagtayFabry in #319
- use black 20.8b1 by @CagtayFabry in #331
- add get_schema_path util function by @CagtayFabry in #325
- fix docs build failing by @CagtayFabry in #332
- fix WXRotation unit prefix by @CagtayFabry in #327
- Fix typo example by @marscher in #337
- clean notebook IDs by @CagtayFabry in #329
- [ci/appveyor] use conda-recipe for bld/test by @marscher in #336
- Add compare_nested to util by @marscher in #328
- Get yaml header read only header by @marscher in #338
- directed graph serialization by @CagtayFabry in #330
- refactor asdf_json_repr into view_tree by @CagtayFabry in #339
- [tutorials] remove cd cmd prior imports by @marscher in #344
- Remove Travis by @vhirtham in #347
- minor fixes by @marscher in #350
- Fix clean_notebooks by @vhirtham in #351
- Add weldx file wrapper by @marscher in #341
- Asdf 2.8 by @CagtayFabry in #218
- Weldxfile tutorial + minor fixes by @marscher in #355
- [doc] fixing the build by @marscher in #356
- [rtd] fix install of packages (allow pinning) by @marscher in #358
- describe core features/design goals in readme by @marscher in #359
- update WelDX notation by @CagtayFabry in #372
- Fix unintentional push to master by @vhirtham in #375
- 63 mc graph backend by @vhirtham in #326
- Add step interpolation to
xr_interp_like
by @vhirtham in #363 - use wildcard in tag references by @CagtayFabry in #373
- Compare nested check keys by @CagtayFabry in #377
- add dataclass_nested_eq decorator by @CagtayFabry in #378
- update markdown formatting in weldxfile.ipynb by @CagtayFabry in #379
- Add spatial_data to csm serialization by @vhirtham in #364
- Simplify dataclass serialization by @vhirtham in #380
- Fix warnings from tests by @vhirtham in #381
- 346 TimeSeries interp_time by @vhirtham in #353
- [asdf/xarray.DataSet|DataArray] fix serialization of attributes by @marscher in #384
- pandas v1.3 & pytest warnings by @CagtayFabry in #389
- fixes #385 by @marscher in #386
- Update variable schema with attrs field by @CagtayFabry in #390
- Add output_signal property to MeasurementChain by @vhirtham in #394
- cleanup asdf validation tests by @CagtayFabry in #399
- tutorial import cleanup by @CagtayFabry in #401
- allow str quantities for MathExpr by @CagtayFabry in #402
- Support TimeSeries as possible input to LCS.init by @vhirtham in #366
- [WeldxFile] resolve custom_schema within weldx package. by @marscher in #412
- Quality standards by @vhirtham in #211
- Math expr param tag by @CagtayFabry in #410
- add test path to pytest config by @CagtayFabry in #405
- Remove appveyor by @vhirtham in #418
- Include markdown readme in sphinx index by @marscher in #415
- support string units in get_groove by @CagtayFabry in #416
- v0.4.0 by @CagtayFabry in #419
Full Changelog: v0.3.3...v0.4.0