SpectroChemPy OMNIC Reader
A standalone reader (and soon a plugin for SpectroChemPy) that enables reading Thermo Scientific™ OMNIC™ spectroscopy files (.spa,.spg, .srs) and Surface Optics Corp. Files (.hdr, .sdr,.ddr)
Installation
pip install spectrochempy-omnic
Usage
from spectrochempy_omnic import OMNICReader as read
# Read an OMNIC file
res = read("path/to/your/file.spg")
# get results numpy arrays
data = res.data # array of data
shape = data.shape
# get axis
x = res.x
y = res.y
xunits, xtitle = res.x_units, res.x_title
yunits, ytitle = res.y_units, res.y_title
Requirements
- Python >=3.10
- NumPy
License
This project is licensed under the CeCILL-B FREE SOFTWARE LICENSE AGREEMENT.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Authors
- Arnaud Travert (contact@spectrochempy.fr)
- Christian Fernandez (contact@spectrochempy.fr)
Citation
If you use this software in your research, please cite:
@software{spectrochempy_omnic,
title = {SpectroChemPy OMNIC Reader},
author = {Travert, Arnaud and Fernandez, Christian},
url = {https://github.com/spectrochempy/spectrochempy-omnic},
version = {0.1.0},
year = {2025}
}
Metadata
Release files for spectrochempy-omnic 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spectrochempy_omnic-0.2.1.tar.gz | 34.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spectrochempy_omnic-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.3 kB
Release files / spectrochempy_omnic-0.2.1.tar.gz
| Download URL | spectrochempy_omnic-0.2.1.tar.gz |
|---|---|
| Size | 34.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5de6c60dab55ac47094b063fb2da1e09f4bf9557347f8c8edf3de6441217cb59
|
|
BLAKE2b-256 checksum How to use checksums |
475f34f21c52af65339ba6e686acfe119620bfd925ac872f25908ab0b8769b00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2025.
Transparency logRelease files / spectrochempy_omnic-0.2.1-py3-none-any.whl
| Download URL | spectrochempy_omnic-0.2.1-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9421ebac4f74d4bcfa8200feae031470a7773e36bc0b334f687d410323722e0
|
|
BLAKE2b-256 checksum How to use checksums |
e1bea6f8ed9253c87c6a6ade1bf5f708000579052dc081de79521d228a0722d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 6, 2025.
Transparency log