1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 <2025> |
<== Date ==> | <== Thread ==> |
---|
Subject: | Questions about Eiger2 |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 22 Apr 2025 13:17:29 +0000 |
Folks,
I have a couple of questions about the Eiger2 that I'm hoping someone can help me with:
#1 I am working on the EPICS driver for the Eiger2 with the Stream2 interface. I have it working fine with Compression=None and Compression=bslz4. However, I am having trouble with compression=lz4. It appears to me that the lz4 compression with Stream2 is different from the lz4 compression with Stream.
These are the compressed sizes I see for a radioactive source and 10 second count time.
The data size for bslz4 is the same for Stream and Stream2, and I can decompress using the same code.
However, the data size with lz4 is significantly larger with Stream2 than with Stream. More importantly when I try to decompress the lz4 data from Stream2 using the same code I use for Stream it crashes.
Has the lz4 compression in Stream2 changed from Stream, and is this documented somewhere?
#2 When I enable threshold2 I expect that the HDF5 file written by the Dectris server should contain 2 images, one for threshold1 and one for threshold2. However, the file size with threshold2 enabled is the same as when it is disabled. In both cases h5dump –header shows the following for the data:
DATASET "data" { DATATYPE H5T_STD_U32LE DATASPACE SIMPLE { ( 1, 1062, 1028 ) / ( H5S_UNLIMITED, 1062, 1028 ) } ATTRIBUTE "image_nr_high" { DATATYPE H5T_STD_U64LE DATASPACE SCALAR } ATTRIBUTE "image_nr_low" { DATATYPE H5T_STD_U64LE DATASPACE SCALAR } }
What am I misunderstanding? Thanks, Mark
|