Skip to content

Choose dtype for isolated buffer #369

@kushalkolar

Description

@kushalkolar

I just noticed when using uint16 imaging data along with a frame_apply function in ImageWidget: lambda frame: frame - movie_mean, which results in negative values that overflow with numpy uint16 without raising warnings or exceptions. We could either always use float32 as the isolated buffer for ImageGraphic and/or allow choosing the dtype for the isolate buffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions