Skip to content

Python API

The dspk package, module by module: what each function takes and returns.

Module What it is for
dspk.runtime Compute runtime choice.
dspk.io Recordings.
dspk.ops Signal-processing operations of dspk-ops, run on the chosen runtime (see dspk.runtime).
dspk.ops.filter Filters on the device, one module per family (mirroring dspk_ops::filter).
dspk.ops.resample Sample-rate changes on the device, with scipy.signal.decimate / resample_poly semantics.
dspk.ops.spatial Operations across channels on the device.
dspk.ops.math Per-channel statistics on the device, and window designs.
dspk.ops.linalg Models fitted on the device.
dspk.ops.layout Channels in a new order on the device, and channel maps.
dspk.ops.peaks Peak candidates on the device.
dspk.ops.stage Pipeline stages (see dspk.ops.Pipeline).
dspk.pipeline Pipelines as data.
dspk.custom Custom operations.
dspk.remote A client of dspk serve.