Skip to content

0.2.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@CagtayFabry CagtayFabry released this 26 Oct 11:11
· 523 commits to master since this release
3413dc9

0.2.1 (26.10.2020)

changes

  • Documentation
  • CoordinateSystemManager
    • supports multiple time formats and can get a reference time [#162]
    • each instance can be named
    • gets a plot function to visualize the graph
    • coordinate systems can be updated using add_cs
    • supports deletion of coordinate systems
    • instances can now be merged and unmerged
  • LocalCoordinateSystem
    • LocalCoordinateSystem now accepts pd.TimedeltaIndex and pint.Quantity as time inputs when provided with a reference pd.Timestamp as time_ref [#97]
    • LocalCoordinateSystem now accepts Rotation-Objects as orientation [#97]
    • Internal structure of LocalCoordinateSystem is now based on pd.TimedeltaIndex and a reference pd.Timestamp instead of pd.DatetimeIndex. As a consequence, providing a reference timestamp is now optional. [#126]
  • weldx.utility.xr_interp_like now accepts non-iterable scalar inputs for interpolation [#97]
  • add pint compatibility to some geometry classes (experimental)
    • when passing quantities to constructors (and some functions), values get converted to default unit mm and passed on as magnitude
    • old behavior is preserved
  • add weldx.utility.xr_check_coords function to check coordinates of xarray object against dtype and value restrictions [#125]
  • add weldx.utility._sine to easily create sine TimeSeries [#168]
  • enable force_ndarray_like=True as default option when creating the global pint.UnitRegistry [#167]
  • ut.xr_interp_like keeps variable and coordinate attributes from original DataArray [#174]
  • rework ut.to_pandas_time_index to accept many different formats (LCS, DataArray) [#174]
  • add utility functions for handling time coordinates to "weldx" accessor [#174]

ASDF extension & schemas

  • add WxSyntaxError exception for custom weldx ASDF syntax errors [#99]
  • add custom wx_tag validation and update wx_property_tag to allow new syntax [#99]
    the following syntax can be used:
    wx_tag: http://stsci.edu/schemas/asdf/core/software-* # allow every version
    wx_tag: http://stsci.edu/schemas/asdf/core/software-1 # fix major version
    wx_tag: http://stsci.edu/schemas/asdf/core/software-1.2 # fix minor version
    wx_tag: http://stsci.edu/schemas/asdf/core/software-1.2.3 # fix patchversion
  • add basic schema layout and GmawProcess class for arc welding process implementation [#104]
  • add example notebook and documentation for arc welding process [#104]
  • allow optional properties for validation with wx_shape by putting the name in brackets like (optional_prop)[#176]