carputils.carpio.lut.LUTFile

class carputils.carpio.lut.LUTFile(filename)

Read from a LUT file.

The file may be gzipped - the code automatically determines if this is the case from the file extension.

close()

Close the file.

data()

Read the file data as a numpy array.

Returns:
data: (numpy.ndarray) The file data contents.
header()

Read the file header.

Returns:
header: The file header