mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-06-26 14:25:19 +02:00
1.2 KiB
1.2 KiB
PixelHistogram
PixelHistogram accumulates one histogram per detector
pixel from 2D float64 images. The public
PixelHistogram name is an alias for
PixelHistogram_d, which stores bin counts as
float64.
Note
PixelHistogram is designed for fast filling from 2D
images, utilizing multiple threads, and contiguous storage of a specific
type. No over/underflow bins are provided. For generic use cases
consider boost-histogram. (https://boost-histogram.readthedocs.io/en/latest/)
Storage-specific variants are also available when a smaller or integer count type is preferred:
PixelHistogram_d:float64storagePixelHistogram_f:float32storagePixelHistogram_u64:uint64storagePixelHistogram_u32:uint32storagePixelHistogram_u16:uint16storagePixelHistogram_u8:uint8storage
PixelHistogram
Showing API for PixelHistogram_d, all variant share the same API.
aare._aare.PixelHistogram_d