How to use the pdm.pdm1.decimater function in pdm

To help you get started, we’ve selected a few pdm examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mkj / pru-mic / pdm / pdm1.py View on Github external
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)]
github mkj / pru-mic / pdm / pdm1.py View on Github external
def decodeone(f, chunk, decim):
    decoder = decimater(decim)
    for a in demuxstream(f, chunk):
        yield decoder(a[NSTREAMS-1-TESTMIC])

pdm

A modern Python package and dependency manager supporting the latest PEP standards

MIT
Latest version published 12 days ago

Package Health Score

94 / 100
Full package analysis