pylab_ml.common.data.complement

complement(value, bits)[source]

Binary complement from a positive value with number of bits.