nilspodlib.legacy.load_12_0#

nilspodlib.legacy.load_12_0(header: ndarray, data_bytes: ndarray) Tuple[ndarray, ndarray][source]#

Convert a session recorded with a firmware version >0.11.255 and <0.13.255 to the most up-to-date format.

This will update the firmware version to 0.17.255 to identify converted sessions. Potential version checks in the library will use <0.17.255 to check for compatibility.

Warning

After the update the following features will not work: - The sync group was removed and hence can not be read anymore

Parameters:
header

bytes containing all the legacy header information

data_bytes

raw bytes representing the data