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.1.0.tar.gz (32.0 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.1.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

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

Hashes for spectrochempy_omnic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c339b3380423f5cef2c6f4e42197d75b2a4f6b52a1fe121c18710e89c7989062
MD5 4d137df8dc46ff74e1e576db12b54522
BLAKE2b-256 a116478bd7295943bcbde6d68b4dbe4848093d299986611d9d91882f58f31882

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy_omnic-0.1.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.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for spectrochempy_omnic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b6c848621b83b6642e6e3442641a73670a957d4f8aba7c6dbb53b2152e50be0
MD5 eb3167d05bcd31cfd7c679df01f77fab
BLAKE2b-256 87d387285050c89ea011e2e9468e058787e9431acd9e1c443c457adf1f88360b

See more details on using hashes here.

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

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