(self)
return bit
Get a sample bit.
Get a sample bit.
Get a sample bit .
def next(self):
        """Get a sample bit."""
        bit = self._lfsr & 1
        self._lfsr >>= 1
        if bit:
            self._lfsr ^= self._feedback
        self.bit = bit
        return bit
def next ( self ) : bit = self . _lfsr & 1 self . _lfsr >>= 1 if bit : self . _lfsr ^= self . _feedback self . bit = bit return bit