Expand description
Multi-frame TIFF stack loading for neutron imaging data.
VENUS beamline data is typically stored as multi-frame TIFF files where each frame corresponds to a time-of-flight (TOF) bin. The result is a 3D array with dimensions (n_tof, height, width).
§Supported formats
- Single multi-frame TIFF (all TOF bins in one file)
- Directory of single-frame TIFFs (one file per TOF bin, sorted by name)
§Data types
- 16-bit unsigned integer (common for neutron detectors)
- 32-bit float (normalized data)
Structs§
- Tiff
Stack Info - Metadata about a loaded TIFF stack.
Functions§
- load_
tiff_ auto - Load TIFF data from either a single multi-frame file or a directory.
- load_
tiff_ directory - Load a directory of single-frame TIFFs as a 3D stack.
- load_
tiff_ folder - Load a directory of TIFFs matching a glob pattern as a 3D stack.
- load_
tiff_ stack - Load a multi-frame TIFF into a 3D array (n_frames, height, width).