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)
pip install spectrochempy-omnicfrom 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- Python >=3.10
- NumPy
This project is licensed under the CeCILL-B FREE SOFTWARE LICENSE AGREEMENT.
Contributions are welcome! Please feel free to submit a Pull Request.
If you encounter any problems, please file an issue along with a detailed description.
- Arnaud Travert (contact@spectrochempy.fr)
- Christian Fernandez (contact@spectrochempy.fr)
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}
}