SharpBCI
A multi-threaded brain control interface (BCI) library in C#
|
A version of InstrumentedDummyAdapter which constantly emits a given DummyAdapterSignal Generally used for smoke-testing / debugging your SharpBCI pipeline. More...
Public Member Functions | |
DummyAdapter (DummyAdapterSignal signal, double sampleRate) | |
DummyAdapter (DummyAdapterSignal signal, double sampleRate, double signalToNoise) | |
Public Member Functions inherited from SharpBCI.InstrumentedDummyAdapter | |
InstrumentedDummyAdapter (DummyAdapterSignal[] signals, double sampleRate, double signalToNoiseRatio) | |
void | StartSignal (int signal) |
Creates the model for generating sample dummy data. More... | |
override void | Start () |
Overwrite of the Start function from EEGDeviceAdapter class. More... | |
override void | Stop () |
Sets isCancelled to true to stop the Run function and joins the thread when complete. More... | |
Public Member Functions inherited from SharpBCI.EEGDeviceAdapter | |
delegate void | DataHandler (EEGEvent evt) |
void | AddHandler (EEGDataType type, DataHandler handler) |
Use this function to add a handler function that is called for each EEGEvent of the specified EEGDataType. More... | |
void | RemoveHandler (EEGDataType type, DataHandler handler) |
Use this function to remove a handler that has been added with the AddHandler function. More... | |
void | FlushEvents () |
Thread safe function that removes events from the event queue and calls FlushEvent (without a s) on each event to send data through pipelines. More... | |
Additional Inherited Members | |
Public Attributes inherited from SharpBCI.InstrumentedDummyAdapter | |
const int | SAMPLE_LENGTH = 256 * 10 |
Public Attributes inherited from SharpBCI.EEGDeviceAdapter | |
readonly int | channels |
Number of channels or sensors collecting data from. More... | |
readonly double | sampleRate |
The rate per second that data is expected to be received. More... | |
Protected Member Functions inherited from SharpBCI.EEGDeviceAdapter | |
EEGDeviceAdapter (int channels, double sampleRate) | |
void | EmitData (EEGEvent evt) |
Puts EEGEvents into the eventQueue to wait; events are flushed and handlers operate on the events. More... | |
A version of InstrumentedDummyAdapter which constantly emits a given DummyAdapterSignal Generally used for smoke-testing / debugging your SharpBCI pipeline.
SharpBCI.DummyAdapter.DummyAdapter | ( | DummyAdapterSignal | signal, |
double | sampleRate | ||
) |
SharpBCI.DummyAdapter.DummyAdapter | ( | DummyAdapterSignal | signal, |
double | sampleRate, | ||
double | signalToNoise | ||
) |