Table of Contents

Class SpikeWaveformCollection

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents a collection of spike waveforms detected by the DetectSpikes operator.

public class SpikeWaveformCollection : Collection<SpikeWaveform>, IList<SpikeWaveform>, ICollection<SpikeWaveform>, IList, ICollection, IReadOnlyList<SpikeWaveform>, IReadOnlyCollection<SpikeWaveform>, IEnumerable<SpikeWaveform>, IEnumerable
Inheritance
SpikeWaveformCollection
Implements
Inherited Members

Constructors

SpikeWaveformCollection(Size)

Initializes a new instance of the SpikeWaveformCollection class with the specified buffer size.

public SpikeWaveformCollection(Size bufferSize)

Parameters

bufferSize Size

The size of the original buffer in which the spikes in this collection were detected.

SpikeWaveformCollection(IList<SpikeWaveform>, Size)

Initializes a new instance of the SpikeWaveformCollection class as a wrapper to the specified list of spikes and buffer size.

public SpikeWaveformCollection(IList<SpikeWaveform> spikes, Size bufferSize)

Parameters

spikes IList<SpikeWaveform>

The list of spikes that is wrapped by the new collection.

bufferSize Size

The size of the original buffer in which the spikes in the list were detected.

Properties

BufferSize

Gets the size of the original buffer in which the spikes in this collection were detected.

public Size BufferSize { get; }

Property Value

Size