ewoksdata.data.hdf5.config#

HDF5 configuration of optimal data storage (IO speed, compression, …)

Functions

dtype_nbytes(dtype)

param dtype:

get_compression_arguments([compression_scheme])

param compression_scheme:

guess_chunk_shape(data_shape, dtype[, ...])

Try to guess the optimal chunk shape with these constraints: * Split any dimension for partial access * Below the maximal chunk size (1 MB by default, uncompressed)

guess_compression(data_shape, dtype[, ...])

Compression is needed when the total data size exceeds the limits (1 MB by default).

guess_data_shape(scan_shape, detector_shape, ...)

param scan_shape:

guess_dataset_config(scan_shape, detector_shape)

Dataset configuration passed the h5py.Group.create_dataset for optimal storage (IO speed, compression, ...)

shape_to_nbytes(shape, dtype)

param shape:

shape_to_size(shape)

param shape: