ess.nmx.types.NMXReducedDetector#
- class ess.nmx.types.NMXReducedDetector(*, data=None, metadata)[source]#
Reduced Detector data and metadata container.
In an output file, all metadata fields are stored on the same level as the data. However, in this reduced detector data container, the data and metadata are separated with an extra hierarchy. It is because the data needs more control how to be stored, i.e. compression option. Also, the histogram may need chunk-wise processing and therefore metadata may need to be written in advance so that the data can be appended to the existing NXdetector HDF5 Group.
- __init__(*, data=None, metadata)#
Methods
__init__(*[, data])Attributes
-
metadata:
NMXDetectorMetadata# NMX Detector metadata.