goldsluice¶
goldsluice: fast pulse-reduction kernels in Rust, with a Python mirror of every algorithm (see README.md).
- goldsluice.run(name, traces, *, backend='rust', **params)[source]¶
{output name: array of one value per trace}of algorithmname;backendis"rust"or"python".
- goldsluice.compare(name, traces, *, repeat=5, python_events=200, **params)[source]¶
Best-of-
repeatwall time of the Rust kernel over all traces, and of the Python mirror over the firstpython_events(it is slow), scaled up. The Rust time includes the call, the contiguity check and the output arrays, not the first-call import.
Modules
Run an algorithm by name on either backend: the compiled Rust kernel or its Python mirror. |
|
Batch mode: run the processing of a dataset definition ( |
|
Time an algorithm on both backends: |
|
The Python mirror of every algorithm: one module per algorithm, listed in |