Skip to content

The lz4 data in Stream2 is different from Stream #69

@MarkRivers

Description

@MarkRivers

The data returned over the Stream2 interface appears to be the same as that returned by the Stream interface if compression=None or bslz4. The data sizes are the same, and the bslz4 decompressor that ADEiger uses for Stream works fine for Stream2.

However, the lz4 data are different. The following are the lz4 compressed sizes for a particular detector configuration with a radioactive source and 10 second acquire time:

Stream:  lz4 compressed size = 771KB
Stream2: lz4 compressed size = 1,119 KB

The lz4 size with Stream 2 is 45% larger than with Stream.

When I call the lz4 decompressor that is used with Stream it crashes when passed the lz4 data received by Stream2.

This seems strange. I have asked Dectris whether indeed the lz4 compressed data is different for Stream and Stream2.

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