Table of Contents

Class RasterSpikes

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that rasterizes a sequence of spike waveforms into sample buffers where spike timepoints are the only non-zero values.

public class RasterSpikes : Transform<SpikeWaveformCollection, Mat>
Inheritance
RasterSpikes
Inherited Members

Methods

Process(IObservable<SpikeWaveformCollection>)

Rasterizes an observable sequence of spike waveforms into sample buffers where spike timepoints are the only non-zero values.

public override IObservable<Mat> Process(IObservable<SpikeWaveformCollection> source)

Parameters

source IObservable<SpikeWaveformCollection>

A sequence of SpikeWaveformCollection objects representing all detected spike events in each continuous signal buffer.

Returns

IObservable<Mat>

A sequence of Mat objects representing continuous sample buffers in which only indices where spikes were detected will have non-zero values.