Skip to content

xdata (time) is not correct #35

@QuentinGlob

Description

@QuentinGlob

Thanks for this library which helped me to a lot through python.

I noticed an issue when xdata which is time element for when xoffset : '0.005' xdata is subject to rounding errors

print(chns[0]['xdata']) return the following :
[0.01, 0.01, 0.03, 0.03, 0.04, 0.06, 0.07, 0.08, 0.09, 0.1, 0.11, 0.12, 0.12, 0.14, 0.15, 0.15, 0.17, 0.18, 0.18, 0.2, 0.21, 0.21, 0.23, 0.24, 0.24.

my time scale is inconsistent due to this and I believe the issue comes from the library as chns = imctm.get_channels(True) and this is directly build from IMCtermite.

I would be very thanksful if you have a fix for it.

Feel free to tell me if you need additional information of if my issue is unclear.

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