Skip to content

JonShort4/brukeropusreader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [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

About

Python package for reading Bruker OPUS files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.5%
  • Shell 30.5%