Skip to main content

yet another datagram

Project description

DOI Documentation PyPi version Github link Github status LGTM analysis

yet another datagram

Set of tools to process raw instrument data according to a dataschema into a standardised form called datagram, annotated with metadata, provenance information, timestamps, units, and uncertainties. Developed by the Materials for Energy Conversion at Empa - Materials Science and Technology.

schema to datagram with yadg

Capabilities:

  • Parsing tabulated data using CSV parsing functionality, including Bronkhorst and DryCal output formats. Columns can be post-processed using any linear combinations of raw and processed data using the calibration functionality.
  • Parsing chromatography data from gas and liquid chromatography, including several Agilent, Masshunter, and Fusion formats. If a calibration file is provided, the traces are automatically integrated using built-in integration routines.
  • Parsing reflection coefficient traces from network analysers. The raw data can be fitted to obtain the quality factor and central frequency using several algorithms.
  • Parsing potentiostat files for electrochemistry applications. Supports BioLogic file formats.

Features:

  • timezone-aware timestamping using Unix timestamps
  • automatic uncertainty determination using data contained in the raw files, instrument specification, or last significant digit
  • uncertainty propagation to derived quantities
  • tagging of data with units
  • extensive dataschema and datagram validation using provided specifications
  • mandatory metadata (such as provenance) is enforced

The full list of capabilities and features is listed in the project documentation.

Installation:

The released versions of yadg are available on the Python Package Index (PyPI) under yadg. Those can be installed using:

    pip install yadg

If you wish to install the current development version as an editable installation, check out the master branch using git, and install yadg as an editable package using pip:

   git clone git@github.com:dgbowl/yadg.git
   cd yadg
   pip install -e .

Additional targets yadg[testing] and yadg[docs] are available and can be specified in the above commands, if testing and/or documentation capabilities are required.

Contributors:

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

yadg-4.1.1.tar.gz (108.3 kB view hashes)

Uploaded Source

Built Distribution

yadg-4.1.1-py3-none-any.whl (116.3 kB view hashes)

Uploaded Python 3

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