Method PostData
- Namespace
- OpenEphys.EphysVisualization.Design
- Assembly
- OpenEphys.EphysVisualization.Design.dll
PostData(Mat, int)
Posts a block of samples to be shown, from any thread. Blocks are shown in the order they are posted.
protected void PostData(Mat data, int sampleRate)
Parameters
dataMatA channel-by-sample matrix of 32-bit floats, one row per channel. The viewer reads it on the next frame and never disposes it, so it can be shared with other subscribers, and must not be changed or disposed until it has been shown.
sampleRateintThe rate, in Hz, at which each channel is sampled.