Expand description
Preparing continuous multi-channel signals for viewing, wherever the viewer runs: a local app next to the recording, or a remote viewer served over the network (dspk-stream carries what this crate produces).
envelope: the min/max reduction ([min, max]per column keeps every spike peak visible at any zoom), on the host and (featuredevice, on by default withwgpu) on a CubeCL device.view: what a viewer asks for (View) and gets (Envelope), locally or remotely.pyramid: the min/max pyramid of a whole recording (in memory or in a file) and its background builder.signal: a signal as a viewer sees it (SignalBackend):LocalSignal(a recording and its pyramid in this process), or a remote session (dspk-stream) answering the same views.
Rendering and UI belong to the app; transport to dspk-stream; file formats to dspk-io.
Re-exports§
pub use envelope::min_max_decimate;pub use envelope::min_max_decimate_into;pub use envelope::Block;pub use envelope::Columns;pub use envelope::envelope_on_device;pub use pyramid::pyramid_path;pub use pyramid::OnProgress;pub use pyramid::Progress;pub use pyramid::Pyramid;pub use pyramid::PyramidBuilder;pub use pyramid::PyramidIdentity;pub use pyramid::FILE_BASE;pub use pyramid::MEMORY_BASE;pub use signal::LocalSignal;pub use signal::SignalBackend;pub use signal::FILE_PYRAMID_MIN_BYTES;pub use view::Envelope;pub use view::View;pub use view::RAW_BLOCK_VALUES;
Modules§
- envelope
- The min/max reduction every envelope goes through.
- pyramid
- Min/max pyramids of a whole recording: exact envelopes at any zoom without reading every sample.
- signal
- A signal as a viewer sees it (
SignalBackend), wherever it lives:LocalSignalis a recording in this process with its pyramid and background builder; a remote session (dspk-stream) answers the sameViews over the network. A viewer (an app) only asks for views and draws theEnvelopes it gets. - view
- What a viewer asks for (
View) and what it gets (Envelope), the same whether the viewer runs next to the recording or across the network (dspk-stream carries both).