Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def decodestream(f, chunk):
decoders = [decimater() for _ in range(NSTREAMS)]
for a in demuxstream(f, chunk):
yield [decode(x) for (decode, x) in zip(decoders, a)]
def decodeone(f, chunk, decim):
decoder = decimater(decim)
for a in demuxstream(f, chunk):
yield decoder(a[NSTREAMS-1-TESTMIC])