nilspodlib.legacy.load_18_0#

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

Convert a session recorded with a firmware version >0.13.255 and <0.17.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.

Parameters:
header

bytes containing all the legacy header information

data_bytes

raw bytes representing the data