Releases: BAMWelDX/weldx
0.2.1
0.2.1 (26.10.2020)
changes
- Documentation
- Documentation is published on readthedocs
- API documentation is now available
- New tutorial about 3 dimensional geometries [#105]
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 acceptspd.TimedeltaIndex
andpint.Quantity
astime
inputs when provided with a referencepd.Timestamp
astime_ref
[#97]LocalCoordinateSystem
now acceptsRotation
-Objects asorientation
[#97]- Internal structure of
LocalCoordinateSystem
is now based onpd.TimedeltaIndex
and a referencepd.Timestamp
instead ofpd.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 somegeometry
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
- when passing quantities to constructors (and some functions), values get converted to default unit
- 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 globalpint.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 updatewx_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]
0.2.0
0.2.0 (30.07.2020)
ASDF
-
add
wx_unit
andwx_shape
validators -
add
doc/shape-validation.md
documentation forwx_shape
[#75] -
add
doc/unit-validation.md
documentation forwx_unit
-
add unit validation to
iso_groove-1.0.0.yaml
-
fixed const/enum constraints and properties in
iso_groove-1.0.0.yaml
-
add NetCDF inspired common types (
Dimension
,Variable
) with corresponding
asdf serialization classes -
add asdf serialization classes and schemas for
xarray.DataArray
,
xarray.Dataset
,weldx.transformations.LocalCoordinateSystem
and
weldx.transformations.CoordinateSystemManager
. -
add test for
xarray.DataArray
,xarray.Dataset
,weldx.transformations.LocalCoordinateSystem
and
weldx.transformations.CoordinateSystemManager
serialization. -
allow using
pint.Quantity
coordinates inweldx.transformations.LocalCoordinateSystem
[#70] -
add measurement related ASDF serialization classes: [#70]
equipment/generic_equipment-1.0.0
measurement/data-1.0.0
data_transformation-1.0.0
measurement/error-1.0.0
measurement/measurement-1.0.0
measurement/measurement_chain-1.0.0
measurement/signal-1.0.0
measurement/source-1.0.0
-
add example notebook for measurement chains in tutorials [#70]
-
add support for
sympy
expressions withweldx.core.MathematicalExpression
and ASDF serialization incore/mathematical_expression-1.0.0
#70, #76 -
add class to describe time series -
weldx.core.TimeSeries
[#76] -
add
wx_property_tag
validator [#72]the
wx_property_tag
validator restricts all properties of an object to a single tag.
For example the following object can have any number of properties but all must be
of typetag:weldx.bam.de:weldx/time/timestamp-1.0.0
type: object additionalProperties: true # must be true to allow any property wx_property_tag: "tag:weldx.bam.de:weldx/time/timestamp-1.0.0"
It can be used as a "named" mapping replacement instead of YAML
arrays
. -
add
core/transformation/rotation-1.0.0
schema that implementsscipy.spatial.transform.Rotation
andtransformations.WXRotation
class to create custom taggedRotation
instances for custom serialization. [#79] -
update requirements to
asdf>=2.7
[#83] -
update
anyOf
tooneOf
in ASDF schemas [#83] -
add
__eq__
functions toLocalCoordinateSystem
andCoordinateSystemManager
[#87]
weldx 0.1.0
0.1.0 (05.05.2020)
ASDF
- add basic file/directory layout for asdf files
- asdf schemas are located in
weldx/asdf/schemas/weldx.bam.de/weldx
- tag implementations are in
weldx/asdf/tags/weldx
- asdf schemas are located in
- implement support for pint quantities
- implement support for basic pandas time class
- implement base welding classes from AWS/NIST "A Welding Data Dictionary"
- add and implement ISO groove types (DIN EN ISO 9692-1:2013)
- add basic jinja templates and functions for adding simple dataclass objects
- setup package to include and install ASDF extensions and schemas (see setup.py, MANIFEST.in)
- add basic tests for writing/reading all ASDF classes (these only run code without any real checks!)
module:
- add and populate
__init__.py
files - add setup.py package configuration for install
- required packages
- package metadata
- asdf extension entry points
- version support
- update pandas, scipy, xarray and pint minimum versions (in conda env and setup.py)
- add versioneer
- update options in setup.cfg
- update tool configurations
- ignore
asdf
-module in deepsource run
- ignore
CI:
- add local conda build workflow (no artifacts so far, testing only)
- add asdf schema test workflow with local package install (schemas are excluded from default pytest run)
- add debug isort workflow (can be used to check files that would be sorted, we can activate isort test with new options in release 5.0)