Package level

asammdf.configure(integer_compacting=None, split_data_blocks=None, split_threshold=None)

configure asammdf parameters

Parameters:

integer_compacting : bool

enable/disable compacting of integer channels on append. This has the potential to greatly reduce file size, but append speed is slower and further loading of the resulting file will also be slower.

split_data_blocks : bool

enable/disable splitting of large data blocks using data lists for mdf version 4

split_treshold : int

size of splitted data blocks, default 2MB; if the initial size is smaller then no data list is used

Enabling compacting of integer channels on append the file size of the resulting file can decrease up to a factor of ~0.5. Splitting the data blocks is usefull for large blocks. The recommended maximum threshold by ASAM is 4MB. asammdf uses a default of 2MB