New Features
This release adds the following features to Openseize:
- 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.
-
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.
-
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