Python3 library for converting (and filtering) spectral data in various formats.
Project description
Python library for converting (and filtering) spectral data in various formats.
Supported spectral formats:
ADAMS (read/write)
ARFF row-wise (read/write)
ASC (read/write)
ASCII XY (read/write)
CAL FOSS (read/write)
CSV (read/write)
DPT (read/write)
MPS (read)
NIR FOSS (read/write)
Opus Bruker (read)
Opus Ext Bruker (read)
SPA Thermo Fisher (read)
Supported sample data formats:
ADAMS report (read/write)
CSV row-wise (read/write)
JSON (read/write)
Changelog
0.0.2 (2025-07-11)
wai.spectralio-based readers now instantiate the wai.spectralio reader in the initialize method
wai.spectralio-based writers now instantiate the wai.spectralio writer in the initialize method
introduced SpectralIOBased, SpectralIOReader and SpectralIOWriter mixins to wai.spectralio-based readers/writers for a cleaner class hierarchy
requiring wai-spectralio>=0.0.5 now
requiring seppl>=0.2.19 now
added experimental support for direct read/write operations using file-like objects
fixed initialization of sample ID and sample data prefix in CSVSampleDataWriter
fixed initialization of None values of OPUSExtReader, aligning it with the command-line args
added from-zip meta-reader for reading spectra and sample data from zip files
added to-zip meta-writer for writing spectra and sample data to zip files
0.0.1 (2025-06-27)
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
File details
Details for the file spectral_data_converter-0.0.2.tar.gz.
File metadata
- Download URL: spectral_data_converter-0.0.2.tar.gz
- Upload date:
- Size: 69.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
515277ecb3a9538ad3ceceb304910ab84984add7db9c6e93effdec0b88bda425
|
|
| MD5 |
e93cc16c133887058149385554413c46
|
|
| BLAKE2b-256 |
3804225175b33f867ac13b3a78e1006506f2e51b38d047d864cd910a0099bd08
|