carputils
Doxygen code documentation for the python framework controlling openCARP
Public Member Functions | Public Attributes | List of all members
carputils.carpio.lut.LUTHeader Class Reference

Describes a LUT file header. More...

Public Member Functions

def __init__ (self, rows, cols, big_endian)
 
def from_binary (cls, binary)
 Generate a LUT header from the binary header data. More...
 

Public Attributes

 rows
 
 cols
 
 big_endian
 

Detailed Description

Describes a LUT file header.

Constructor & Destructor Documentation

◆ __init__()

def carputils.carpio.lut.LUTHeader.__init__ (   self,
  rows,
  cols,
  big_endian 
)
Parameters
rows(int) The number of rows in the file
cols(int) The number of columns in the file
big_endian(bool) Whether the file is big endian or not

Member Function Documentation

◆ from_binary()

def carputils.carpio.lut.LUTHeader.from_binary (   cls,
  binary 
)

Generate a LUT header from the binary header data.

Parameters
binary(bytes) The binary header from a LUT file
Returns
LUTHeader class.

Member Data Documentation

◆ big_endian

carputils.carpio.lut.LUTHeader.big_endian

◆ cols

carputils.carpio.lut.LUTHeader.cols

◆ rows

carputils.carpio.lut.LUTHeader.rows

The documentation for this class was generated from the following file: