Skip to content

[BUG] Handling series with extremely small scale #2799

@MatthewMiddlehurst

Description

@MatthewMiddlehurst

Describe the issue

Series with extremely small values (i.e. e-23, see #2787) can have unintended consequences. I do not think we should support series of this scale, as any floating point imprecision or mitigation we use for this will have an impact on these series. It is not worth accounting for this throughout the package, and silently processing (or crashing) does not seem like a good idea.

Suggest a potential alternative/fix

In the series/collection base class, check the scale of the input series. If this is too small, raise an error.

Additional context

This does not make the users data unusable, as they should be able to just increase the scale of the data prior to input if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions