ewoksdata.data.hdf5.config.guess_compression¶
- ewoksdata.data.hdf5.config.guess_compression(data_shape, dtype, compression_limit_nbytes=None)[source]¶
Compression is needed when the total data size exceeds the limits (1 MB by default).
- Parameters:
data_shape (
Tuple
[NewType()
(StrictPositiveIntegral
,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
]]) –compression_limit_nbytes (
Optional
[Integral
]) –
- Return type:
bool