Skip to main content

Python library for reading/writing various NIR, MIR, XRF spectroscopy data formats.

Project description

Python library for reading/writing various NIR, MIR, XRF spectroscopy data formats.

Supported formats:

  • ADAMS spectra (.spec, .spec.gz)

  • ARFF (row-wise)

  • ASC

  • ASCII XY

  • CAL (FOSS)

  • CSV (row-wise)

  • DPT

  • MPS (XRF)

  • NIR (FOSS)

  • OPUS (Bruker)

  • OPUS ext (Bruker)

  • SPA (Thermo Scientific)

Changelog

0.0.3 (2025-06-25)

  • added read/write support for spectra in CSV files (row-wise)

  • added read/write support for spectra in ARFF files (row-wise)

  • the ADAMS writer now outputs the Sample ID as well

0.0.2 (2025-06-18)

  • fixed access of output_sampledata flag of ADAMS Writer

  • added setter for sample data in Spectrum class

  • the NIR Reader no longer skips the reference values

  • serialization of constituents in FOSS NIR header is now more robust

0.0.1 (2025-04-14)

  • initial release

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

wai_spectralio-0.0.3.tar.gz (44.3 kB view details)

Uploaded Source

File details

Details for the file wai_spectralio-0.0.3.tar.gz.

File metadata

  • Download URL: wai_spectralio-0.0.3.tar.gz
  • Upload date:
  • Size: 44.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for wai_spectralio-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0aad9a3e1772f1dd8ccbc5fe40dbe9d0eac3201756ae60a5b2ced633ae144497
MD5 50d793acfa302b11ca97c821eb5544b6
BLAKE2b-256 9908b9b662e5188da877bb0a1e1b70faa17a3ff3850a2a5d77647a654f1df379

See more details on using hashes here.

Supported by

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