mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-10-22 18:11:27 +02:00
RawFile takes an optional GapPixels configuration and assembles every frame with the gaps inserted: the gap lines are filled, each module part is scattered through the scratch buffer into its gapped position and, if configured, the counts of the chip edge pixels are split. rows(), cols(), pixels_per_frame() and bytes_per_frame() include the gaps, for the full frame and for each ROI. File forwards FileConfig::gap_pixels to RawFile and rejects it for other file types. Only Jungfrau and Eiger are supported. Python RawFile and File accept gap_pixels as a bool or a GapPixels and expose it as a property. Frame shapes come from rows() and cols(). Adds the module layout assembly tests and the raw file benchmark that the assembly refactor went in without, since the gap tests build on the generalized raw file helper.