'Return an iterator over raw buffers.
Parameters
nchan : int
The number of channels (info[\'nchan\']).
Returns
raw_buffer : generator
Generator for iteration over raw buffers.'

def raw_buffers(self, nchan):

    while True:
        raw_buffer = self.read_raw_buffer(nchan)
        if (raw_buffer is not None):
            (yield raw_buffer)
        else:
            break
