Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qedsoftware/brukeropusreader
Python package for reading Bruker OPUS files.
https://github.com/qedsoftware/brukeropusreader
absorption bruker bruker-opus ftir interferograms mpa opus python soil spectra spectral spectrometry spectroscopy
Last synced: 3 months ago
JSON representation
Python package for reading Bruker OPUS files.
- Host: GitHub
- URL: https://github.com/qedsoftware/brukeropusreader
- Owner: qedsoftware
- License: lgpl-3.0
- Created: 2017-08-17T15:21:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-09-14T22:57:39.000Z (about 1 year ago)
- Last Synced: 2024-07-23T07:55:47.829Z (4 months ago)
- Topics: absorption, bruker, bruker-opus, ftir, interferograms, mpa, opus, python, soil, spectra, spectral, spectrometry, spectroscopy
- Language: Python
- Homepage: https://qed.ai
- Size: 49.8 KB
- Stars: 55
- Watchers: 11
- Forks: 33
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-spectra - Bruker OPUS Reader
README
# Bruker OPUS Reader
## Introduction
The brukeropusreader Python package enables reading the binary OPUS files generated by Bruker spectrometers.## Installation
### Install with pip
```pip install brukeropusreader```## Usage
`read_file` parses OPUS file and returns `OpusData` object:
```
from brukeropusreader import read_fileopus_data = read_file('opus_file.0')
````OpusData` is a dict consisting of all fields found in opus file:
```
print(f'Parsed fields: '
f'{list(opus_data.keys())}')print(f'Absorption spectrum: '
f'{opus_data["AB"]}'
```For full code see [example](example.py).
## Algorithm
Algorithm taken from
https://bitbucket.org/hirschbeutel/ono/src/default/ono/bruker_opus_filereader.pyAuthor: @twagner
## Contact
For developer issues, please start a ticket in Github.
You can also write to the dev team directly at [email protected].
For other issues, please write to: [email protected]## License
This project is released under the terms of the LGPLv3 license, which is included in LICENSE.txt.--
QED | https://qed.ai