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.5 (2025-07-10)
------------------
- The writers for ARFF, ASC, ASCIIXY, CSV and DPT now handle writing to a binary file-like objects as well
0.0.4 (2025-07-03)
------------------
- added method `read_fp` to `SpectrumReader` and `write_fp` to `SpectrumWriter` to make use
of file-like objects directly
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
Raw data
{
"_id": null,
"home_page": "https://github.com/waikato-datamining/wai-spectralio",
"name": "wai-spectralio",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Peter Reutemann",
"author_email": "fracpete@waikato.ac.nz",
"download_url": "https://files.pythonhosted.org/packages/ac/91/2cec02d41113f332f0d714e2c5eb2fe233188594c793eaae2b3c4f582747/wai_spectralio-0.0.5.tar.gz",
"platform": null,
"description": "Python library for reading/writing various NIR, MIR, XRF spectroscopy data formats. \n\nSupported formats:\n\n* ADAMS spectra (.spec, .spec.gz)\n* ARFF (row-wise)\n* ASC\n* ASCII XY\n* CAL (FOSS)\n* CSV (row-wise)\n* DPT\n* MPS (XRF)\n* NIR (FOSS)\n* OPUS (Bruker)\n* OPUS ext (Bruker)\n* SPA (Thermo Scientific)\n\nChangelog\n=========\n\n0.0.5 (2025-07-10)\n------------------\n\n- The writers for ARFF, ASC, ASCIIXY, CSV and DPT now handle writing to a binary file-like objects as well\n\n\n0.0.4 (2025-07-03)\n------------------\n\n- added method `read_fp` to `SpectrumReader` and `write_fp` to `SpectrumWriter` to make use\n of file-like objects directly\n\n\n0.0.3 (2025-06-25)\n------------------\n\n- added read/write support for spectra in CSV files (row-wise)\n- added read/write support for spectra in ARFF files (row-wise)\n- the ADAMS writer now outputs the Sample ID as well\n\n\n0.0.2 (2025-06-18)\n------------------\n\n- fixed access of `output_sampledata` flag of ADAMS Writer\n- added setter for sample data in `Spectrum` class\n- the NIR Reader no longer skips the reference values\n- serialization of constituents in FOSS NIR header is now more robust\n\n\n0.0.1 (2025-04-14)\n------------------\n\n- initial release\n\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Python library for reading/writing various NIR, MIR, XRF spectroscopy data formats.",
"version": "0.0.5",
"project_urls": {
"Homepage": "https://github.com/waikato-datamining/wai-spectralio"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ac912cec02d41113f332f0d714e2c5eb2fe233188594c793eaae2b3c4f582747",
"md5": "8bbaa8e800dddc8ffcc83edde5d60a77",
"sha256": "21ce19e63d0139a73e0fcb5b448a9d4eba12a72a060062efa63e08156bd9acc1"
},
"downloads": -1,
"filename": "wai_spectralio-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "8bbaa8e800dddc8ffcc83edde5d60a77",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 44921,
"upload_time": "2025-07-10T02:19:13",
"upload_time_iso_8601": "2025-07-10T02:19:13.883918Z",
"url": "https://files.pythonhosted.org/packages/ac/91/2cec02d41113f332f0d714e2c5eb2fe233188594c793eaae2b3c4f582747/wai_spectralio-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-10 02:19:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "waikato-datamining",
"github_project": "wai-spectralio",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "wai-spectralio"
}