pylab_ml.common.data.crc4

crc4(data)[source]

Calculate 4-bit crc from a data with width bits.

polynomial = X4+X+1