Python package for reading Bruker OPUS files.
Go to file
Michał Łazowik ed13492490
Merge pull request #26 from qedsoftware/license-change
Switch license to LGPL
2023-06-21 21:00:30 +02:00
brukeropusreader Added phase and power definitions to data blocks 2022-02-04 18:14:20 -05:00
recipe Switch license to LGPL 2023-06-15 09:27:21 +02:00
tests DEV: modified setup to use setup tools 2020-05-25 19:44:26 +02:00
.gitignore DEV: modified setup to use setup tools 2020-05-25 19:44:26 +02:00
.travis.yml FIX: problem regarding travis build and anaconda upload 2020-05-28 18:57:59 +02:00
LICENSE.txt Switch license to LGPL 2023-06-15 09:27:21 +02:00
README.md Switch license to LGPL 2023-06-15 09:27:21 +02:00
example.py FIX wrong setting of wavenumbers axis 2020-05-28 09:37:34 +02:00
setup.py Switch license to LGPL 2023-06-15 09:27:21 +02:00

README.md

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_file

opus_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.

Algorithm

Algorithm taken from https://bitbucket.org/hirschbeutel/ono/src/default/ono/bruker_opus_filereader.py

Author: @twagner

Contact

For developer issues, please start a ticket in Github. You can also write to the dev team directly at brukeropusreader-dev@qed.ai. For other issues, please write to: brukeropusreader@qed.ai

License

This project is released under the terms of the LGPLv3 license, which is included in LICENSE.txt.

-- QED | https://qed.ai