Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@mscaudill mscaudill released this 06 Apr 21:24
· 49 commits to master since this release

New Features

This release adds the following features to Openseize:

  1. Producers now support concurrent processing. This feature supports applying a single DSP pipeline across multiple producer instances simultaneously. To use this feature, a sequence of DSP steps should be constructed as a single function to pass to Python's multiprocessing module like so:
# call an openseize pipeline on a sequence of producers
 with mp.Pool(processes=ncores) as pool:
            results = []
            for res in pool.imap(pipeline, producers):
                results.append(res)

Please see the test_concurrency pytest module for complete examples and tests.

  1. The shape attribute of EDF Reader instances have been promoted to an attribute of the Reader ABC. This ensures that all future readers implement a shape method. The documentation and tutorials have been updated to reflect this change.

  2. A new tutorial details how to use Openseize with non-EDF files. In particular, a worked example is provided to developers seeking to write new Reader types.

Compatibility

There are no compatibility issues with the prior v1.1.0 release.

Bug Fixes

A minor documentation fix was applied to the docstring of the IIR notch