I am running an Eiger2 CdTe 500k detector and trying to record a list of attributes.
I put a test layout xml file "Eiger2_28idb_layout_test.xml" into "s28eiger-cdte:HDF1:XMLFileName" field.
Eiger2_28idb_Layout_test.xml
And use "attributes_28idb_Eiger2_test.xml" in the "s28eiger-cdte:cam1:NDAttributesFile" field.
attributes_28idb_Eiger2_test.xml
All the attributes in the test file are kind of static information, so I only need to record them once. If I set them in the layout file to be , they will be recorded once but allocated 8k times the space if I have 8k images, like the one attribute info here cut from the output of an "h5ls -rvl h5file":
=====
/entry/instrument/detector/configuration/counting_mode Dataset {1/Inf}
Attribute: NDAttrDescription scalar
Type: 14-byte null-terminated ASCII string
Attribute: NDAttrName scalar
Type: 13-byte null-terminated ASCII string
Attribute: NDAttrSource scalar
Type: 36-byte null-terminated ASCII string
Attribute: NDAttrSourceType scalar
Type: 20-byte null-terminated ASCII string
Location: 1:280476
Links: 1
Chunks: {8000} 2048000 bytes
Storage: 256 logical bytes, 2048000 allocated bytes, 0.01% utilization
Type: 256-byte null-terminated ASCII string
I set them to be hoping they are only to be recorded as attributes of my detector 'group'. They did get recorded that way:
However, they are also recorded as if they are , which are not specified in the layout file.
Is this a correct behavior? That balloons the file quite fast and, I believe, slows the detector down when I add a lot more attributes.
A few screen shots of one test I did with an exposure of 8k-image with 0.0005 seconds each (with actual layout and attribute files I want to use):
The exposure took more like 15 seconds to finish (~500 Hz instead of 2k) and about half of the images are lost with queue of 1000. setting the queue to 6000 caught all but takes a while to finish saving.
During this, I turned off all other plugins, left only the HDF1 running.
Thanks!
I am running an Eiger2 CdTe 500k detector and trying to record a list of attributes.
I put a test layout xml file "Eiger2_28idb_layout_test.xml" into "s28eiger-cdte:HDF1:XMLFileName" field.
Eiger2_28idb_Layout_test.xml
And use "attributes_28idb_Eiger2_test.xml" in the "s28eiger-cdte:cam1:NDAttributesFile" field.
attributes_28idb_Eiger2_test.xml
All the attributes in the test file are kind of static information, so I only need to record them once. If I set them in the layout file to be , they will be recorded once but allocated 8k times the space if I have 8k images, like the one attribute info here cut from the output of an "h5ls -rvl h5file":
=====
/entry/instrument/detector/configuration/counting_mode Dataset {1/Inf}
Attribute: NDAttrDescription scalar
Type: 14-byte null-terminated ASCII string
Attribute: NDAttrName scalar
Type: 13-byte null-terminated ASCII string
Attribute: NDAttrSource scalar
Type: 36-byte null-terminated ASCII string
Attribute: NDAttrSourceType scalar
Type: 20-byte null-terminated ASCII string
Location: 1:280476
Links: 1
Chunks: {8000} 2048000 bytes
Storage: 256 logical bytes, 2048000 allocated bytes, 0.01% utilization
Type: 256-byte null-terminated ASCII string
I set them to be hoping they are only to be recorded as attributes of my detector 'group'. They did get recorded that way:
However, they are also recorded as if they are , which are not specified in the layout file.
Is this a correct behavior? That balloons the file quite fast and, I believe, slows the detector down when I add a lot more attributes.
A few screen shots of one test I did with an exposure of 8k-image with 0.0005 seconds each (with actual layout and attribute files I want to use):
The exposure took more like 15 seconds to finish (~500 Hz instead of 2k) and about half of the images are lost with queue of 1000. setting the queue to 6000 caught all but takes a while to finish saving.
During this, I turned off all other plugins, left only the HDF1 running.
Thanks!