Skip to content

Unreadable measurement #15

@DavidTadres

Description

@DavidTadres

Firstly, thank you very much for providing this python package.

One of my recordings done on a Bruker Tensor 27 spectrometer can't be read by opusreader.

The OPUS viewer displays is able to display the measurement (blue). I also show the 'readable' example in red (See below)
OpusViewer

When reading the two files I get widely different absorption values:

from brukeropusreader import read_file

unreadable = read_file('C:\\Users\\David\\Desktop\\opus troublshooting\\unreadable.0000')
readable = read_file('C:\\Users\\David\\Desktop\\opus troublshooting\\readable.0006')

"""
unreadable['AB'][0:30]
array([1.68155816e-44, 2.80259693e-42, 1.40129846e-45, 6.27109369e-39,
       1.83670992e-40, 5.88323249e-39, 7.37636505e-39, 1.83670992e-40,
       1.40129846e-45, 8.29149843e-39, 1.83670992e-40, 4.09179152e-43,
       7.74048685e-39, 4.77544860e-39, 7.21432390e+22, 7.14469695e+31,
       2.01962467e-19, 7.43988911e+28, 3.72261848e+27, 6.68376203e+22,
       1.31832032e+25, 2.28019990e-12, 1.10184478e+24, 1.93459115e-19,
       1.57949750e-19, 2.96726393e+26, 2.69185152e+09, 2.82229577e+26,
       6.48017418e-10, 6.37359499e-10])
readable['AB'][0:30]
array([0.00488466, 0.0047653 , 0.00466482, 0.00459077, 0.00451578,
       0.00444223, 0.00436925, 0.00426781, 0.00415329, 0.00407281,
       0.0040019 , 0.00388978, 0.00375876, 0.00363817, 0.00352651,
       0.00342261, 0.00332389, 0.00322775, 0.00312658, 0.00301312,
       0.00290017, 0.00279764, 0.00268841, 0.0025628 , 0.00243541,
       0.00232032, 0.00221839, 0.00211131, 0.00198241, 0.00184446])
"""

The files can be found here: https://drive.google.com/drive/folders/1tTz6-GYi1mNkF85JtXe4k_GY7ffpiY6_?usp=sharing

Note: The files are from two different measurements which were ran consecutively. All measurement during the 'unreadable' measurement are unreadable. All measurements during the 'readable' measurement are readable.

Any idea what the problem could be? I initially thought that the file might be corrupted. However, the OPUS viewer is able to extract the correct information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions