Skip to content

Incorrect Extra Values in AB Data #30

@rbrtschwn

Description

@rbrtschwn

Hi,

First of all, thank you for providing this library!

While trying it, we have come across an issue when reading AB spectra. There are extra values that OPUS does not show. I believe this is related to this comment in the source code:

# the number of points here is OK. It is "AB" that can return more values (equals to zero)

This comment suggests that the actual number of y data points may be larger than what the NPT parameter says, so extra x values are added accordingly. Probably, it should be the other way around. NPT is correct and extra y values should be truncated.

Any chance of changing the behavior?

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