Skip to main content

Python API for the WelDX file format and standard

Project description

Documentation Binder Anaconda-Server Badge Zenodo License

Overview

Scientific welding data covers a wide range of physical domains and timescales and are measured using various different sensors. Complex and highly specialized experimental setups at different welding institutes complicate the exchange of welding research data further.

The WelDX research project aims to foster the exchange of scientific data inside the welding community by developing and establishing a new open source file format suitable for the documentation of experimental welding data and upholding associated quality standards. In addition to fostering scientific collaboration inside the national and international welding community an associated advisory committee will be established to oversee the future development of the file format. The proposed file format will be developed with regard to current needs of the community regarding interoperability, data quality and performance and will be published under an appropriate open source license. By using the file format objectivity, comparability and reproducibility across different experimental setups can be improved.

The project is under active development by the Welding Technology division at Bundesanstalt für Materialforschung und -prüfung (BAM).

Features

WelDX provides several Python API to perform standard tasks like experiment design, data analysis, and experimental data archiving.

Planning

  • Define measurement chains with all involved devices, error sources, and metadata annotations.

  • Handle complex coordinate transformations needed to describe the movement of welding robots, workpieces, and sensors.

  • Planing of welding experiments.

  • convenient creation of ISO 9692-1 welding groove types.

Data analysis

  • Plotting routines to inspect measurement chains, workpieces (planned and welded).

  • Analysis functions for standard measurements like track energy, welding speed to fill an ISO groove, and more to come.

Data archiving

The ultimate goal of this project is to store all information about the experiment in a single file. We choose the popular ASDF format for this task. This enables us to store arbitrary binary data, while maintaining a human readable text based header. All information is stored in a tree like structure, which makes it convenient to structure the data in arbitrary complex ways.

The ASDF format and the provided extensions for WelDX types like

  • workpiece information (used alloys, geometries)

  • welding process parameters (GMAW parameters)

  • measurement data

  • coordinate systems (robot movement, sensors)

enables us to store the whole experimental pipeline performed in a modern laboratory.

Design goals

We seek to provide a user-friendly, well documented programming interface. All functions and classes in WelDX have attached documentation about the involved parameters (types and explanation), see API docs. Further we provide rich Jupyter notebook tutorials about the handling of the basic workflows.

All involved physical quantities used in weldx (lengths, angles, voltages, currents, etc.) should be attached with a unit to ensure automatic conversion and correct mathematical handling. Units are being used in all standard features of WelDX and are also archived in the ASDF files. This is implemented by the popular Python library Pint, which flawlessly handles the creation and conversion of units and dimensions.

Publications

Installation

The WelDX package can be installed using conda or mamba package manager from the Conda-Forge channel. These managers originate from the freely available Anaconda Python stack. If you do not have Anaconda or Miniconda installed yet, we ask you to install Miniconda-3. Documentation for the installation procedure can be found here. After this step you have access to the conda command and can proceed to installing the WelDX package.

conda install weldx weldx_widgets -c conda-forge

The package is also available on pypi.

pip install weldx weldx-widgets

Documentation

The full documentation is published on readthedocs.org. Click on one of the following links to get to the desired version:

Funding

This research is funded by the Federal Ministry of Education and Research of Germany under project number 16QK12.

Repository status

Continuous Integration

pytest conda build

Code Status

static analysis pre-commit.ci status Codacy Badge codecov DeepSource

Documentation build

Documentation documentation-gh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weldx-0.6.2.tar.gz (279.9 kB view details)

Uploaded Source

Built Distribution

weldx-0.6.2-py3-none-any.whl (343.4 kB view details)

Uploaded Python 3

File details

Details for the file weldx-0.6.2.tar.gz.

File metadata

  • Download URL: weldx-0.6.2.tar.gz
  • Upload date:
  • Size: 279.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for weldx-0.6.2.tar.gz
Algorithm Hash digest
SHA256 c83172a49074ff47bd605c0218dd73adf5be059a3ecc954450699ab11fecf38a
MD5 19870b8be26871b1d89a87ba704cd223
BLAKE2b-256 ba5672f1024e259346eece8bb1ff78a80af2407a97811d151783e9b586f5b592

See more details on using hashes here.

Provenance

File details

Details for the file weldx-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: weldx-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 343.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for weldx-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c41c6c8abef513e8c5a65c8d1b127688f6c690d617cd5ce0bf3d6d14959f1e72
MD5 13f924baa3bac0531434e1b9a0a32a73
BLAKE2b-256 ebc9a52617b6656b13e9d200e212d34ce496d267a2eb89c87809b1d348762869

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page