Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spectrochempy_omnic-0.2.0.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spectrochempy_omnic-0.2.0-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file spectrochempy_omnic-0.2.0.tar.gz.

File metadata

  • Download URL: spectrochempy_omnic-0.2.0.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for spectrochempy_omnic-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a00d7ba7ff8321ccdb07eeab1f9c20d435e5f84856f15123a51a9ecd8b58f137
MD5 d3c10e0275db3c2a9f481286da793090
BLAKE2b-256 0be50aaff765777275477ca37f27023e3a672665f5307a54d0dc416ea200b72e

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy_omnic-0.2.0.tar.gz:

Publisher: build_package.yml on spectrochempy/spectrochempy-omnic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spectrochempy_omnic-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spectrochempy_omnic-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b55b5c355e5a28992fe701bce2a6c1f46d64c1a38b80c0f0907482f015c0b2f
MD5 bd3e57470383da1f5f682465bd118757
BLAKE2b-256 2bcf3fbc0c1f9b805b7b749c215ed2281f7b5cab49d0adff23b8c4a258ca596f

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy_omnic-0.2.0-py3-none-any.whl:

Publisher: build_package.yml on spectrochempy/spectrochempy-omnic

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page