Table of Contents

Method Add

Namespace
OpenEphys.EphysVisualization.Design
Assembly
OpenEphys.EphysVisualization.Design.dll

Add(int, float[])

Adds a detected waveform to a channel's density, from any thread. It is drawn in on the next frame.

public void Add(int channel, float[] waveform)

Parameters

channel int

The channel it was detected on. One out of range is ignored.

waveform float[]

Its samples, at least the view's length of them. A copy is kept until it is drawn, so the array can be reused at once. It is dropped instead while too many wait to be drawn, or while the view is paused.