SpectroChemPy OMNIC file reader
Project description
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}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spectrochempy_omnic-0.1.0.tar.gz.
File metadata
- Download URL: spectrochempy_omnic-0.1.0.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c339b3380423f5cef2c6f4e42197d75b2a4f6b52a1fe121c18710e89c7989062
|
|
| MD5 |
4d137df8dc46ff74e1e576db12b54522
|
|
| BLAKE2b-256 |
a116478bd7295943bcbde6d68b4dbe4848093d299986611d9d91882f58f31882
|
Provenance
The following attestation bundles were made for spectrochempy_omnic-0.1.0.tar.gz:
Publisher:
build_package.yml on spectrochempy/spectrochempy-omnic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spectrochempy_omnic-0.1.0.tar.gz -
Subject digest:
c339b3380423f5cef2c6f4e42197d75b2a4f6b52a1fe121c18710e89c7989062 - Sigstore transparency entry: 187311101
- Sigstore integration time:
-
Permalink:
spectrochempy/spectrochempy-omnic@65d3e8d46d1e2b43c20808461112fe47dc1aa10c -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/spectrochempy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_package.yml@65d3e8d46d1e2b43c20808461112fe47dc1aa10c -
Trigger Event:
release
-
Statement type:
File details
Details for the file spectrochempy_omnic-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spectrochempy_omnic-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b6c848621b83b6642e6e3442641a73670a957d4f8aba7c6dbb53b2152e50be0
|
|
| MD5 |
eb3167d05bcd31cfd7c679df01f77fab
|
|
| BLAKE2b-256 |
87d387285050c89ea011e2e9468e058787e9431acd9e1c443c457adf1f88360b
|
Provenance
The following attestation bundles were made for spectrochempy_omnic-0.1.0-py3-none-any.whl:
Publisher:
build_package.yml on spectrochempy/spectrochempy-omnic
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spectrochempy_omnic-0.1.0-py3-none-any.whl -
Subject digest:
4b6c848621b83b6642e6e3442641a73670a957d4f8aba7c6dbb53b2152e50be0 - Sigstore transparency entry: 187311103
- Sigstore integration time:
-
Permalink:
spectrochempy/spectrochempy-omnic@65d3e8d46d1e2b43c20808461112fe47dc1aa10c -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/spectrochempy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_package.yml@65d3e8d46d1e2b43c20808461112fe47dc1aa10c -
Trigger Event:
release
-
Statement type: