ewoksdata.data.hdf5.config.guess_dataset_config#
- ewoksdata.data.hdf5.config.guess_dataset_config(scan_shape, detector_shape, dtype=None, chunk_split=None, chunk_nbytes=None, compression_limit_nbytes=None, compression_scheme=None, max_shape=None)[source]#
Dataset configuration passed the h5py.Group.create_dataset for optimal storage (IO speed, compression, …)
- Parameters:
scan_shape (
Tuple
[Optional
[NewType()
(PositiveIntegral
,Integral
)]])detector_shape (
Tuple
[Optional
[NewType()
(PositiveIntegral
,Integral
)]])dtype (
Union
[dtype
[Any
],None
,type
[Any
],_SupportsDType
[dtype
[Any
]],str
,tuple
[Any
,int
],tuple
[Any
,Union
[SupportsIndex
,Sequence
[SupportsIndex
]]],list
[Any
],_DTypeDict
,tuple
[Any
,Any
]])chunk_split (
Optional
[Integral
])chunk_nbytes (
Optional
[Integral
])compression_limit_nbytes (
Optional
[Integral
])compression_scheme (
Optional
[str
])max_shape (
Optional
[Tuple
[Optional
[NewType()
(StrictPositiveIntegral
,Integral
)]]])
- Return type:
dict