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.1.tar.gz (34.9 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.1-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spectrochempy_omnic-0.2.1.tar.gz
  • Upload date:
  • Size: 34.9 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.1.tar.gz
Algorithm Hash digest
SHA256 5de6c60dab55ac47094b063fb2da1e09f4bf9557347f8c8edf3de6441217cb59
MD5 2eccd2cacf0f18109abf00a16e495205
BLAKE2b-256 475f34f21c52af65339ba6e686acfe119620bfd925ac872f25908ab0b8769b00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spectrochempy_omnic-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9421ebac4f74d4bcfa8200feae031470a7773e36bc0b334f687d410323722e0
MD5 f5db36550cc7f35eab066dff8c90e784
BLAKE2b-256 e1bea6f8ed9253c87c6a6ade1bf5f708000579052dc081de79521d228a0722d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrochempy_omnic-0.2.1-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