Python package for reading Bruker OPUS files.
Go to file
t2 5f2ecbfc26 Fixing interpolation error
In some spectra there's discrepancy between
the number of points in spectrum (NPT variable),
and real number of points (shape of array)

In this commit we decide that REAL NUMBER is the value we should care about
2019-09-16 15:02:14 +02:00
brukeropusreader Fixing interpolation error 2019-09-16 15:02:14 +02:00
.gitignore Moving bruker opus reader to python 3 2017-10-10 16:52:26 +02:00
LICENSE.txt Preparing package 2018-07-11 00:20:47 +02:00
README.md bruker opus reader new algorithm 2019-08-28 10:52:15 +02:00
example.py bruker opus reader new algorithm 2019-08-28 10:52:15 +02:00
requirements.in bruker opus reader new algorithm 2019-08-28 10:52:15 +02:00
requirements.txt bruker opus reader new algorithm 2019-08-28 10:52:15 +02:00
setup.py Fixing interpolation error 2019-09-16 15:02:14 +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

Copyright (c) 2018 Quantitative Engineering Design. All rights reserved. This project is released under the terms of the AGPL license, which is included in LICENSE.txt.

-- QED | https://qed.ai