-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AB Data read from files where "make compatible skalar" was used leads to duplicate data #13
Comments
I was actually able to narrow it down. Only files where the operation "make compatible skalar" was performed are an issue. I have added sample files. The file with "comp" at the end of the name has the operation performed on it and the other one does not. |
Thank you for your report! I am not aware of this bug, I will look at the sample files and see if I can reproduce it. |
Thanks again for the example files. I was able to reproduce the bug. I was not able to fix it for the latest release but it's still on my radar. |
@typorian @stuart-cls https://github.com/joshduran/brukeropus/blob/master/brukeropus%2Ffile%2Fblock.py |
I have data that was measured with OPUS 7 and OPUS 8, and in the data from OPUS 8, the AB data block is read partly in duplicate. The OPUS file itself seems fine because exporting as DPT yields good and correct results.
The data read with opusFC looks as if the first part of the spectrum is duplicate so instead of the spectrum looking like:
abcdefghijklmnop
it looks like
abcabcdefghijklm
with absorption data missing in the end and all the data after the repeating part being shifted against the wavenumbers. Unfortunately I have no option to generate comparable data with OPUS 7, but I could try to provide an OPUS 8 example file, if this is not a known issue.
The text was updated successfully, but these errors were encountered: