|
ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RawEspConnection
Interface defining the encapsulation of a MultiConnectionSocket and
associated ESP objects for raw signal processing.
| Method Summary | |
|---|---|
double[][] |
getCurrent()
Return the current second's worth of samples. |
double[][] |
getCurrent(int numSamples)
Return the specified number of the current second's worth of samples. |
double[][] |
getCurrentFor(int channelNumber)
Return the current second's worth of samples for the specified channel. |
double[][] |
getCurrentFor(int numSamples,
int channelNumber)
Return the specified number of the current second's worth of samples for the specified channel. |
Lab |
getDefaultLab()
Returns an instance of the default lab implementation for use with this connection. |
AbstractDSPValues |
getDSPValues()
Return the DSP values. |
java.lang.String |
getName()
Return a name identifier. |
EspSignalUtilities |
getUtilities()
Return the utilities. |
EspWindowFunction |
getWindowFunction()
Return the window function. |
void |
setWindowFunction(EspWindowFunction function)
Set the window function. |
| Methods inherited from interface com.github.mrstampy.esp.multiconnectionsocket.MultiConnectionSocket |
|---|
addConnectionEventListener, bindBroadcaster, canBroadcast, clearConnectionEventListeners, getChannel, getChannels, getNumChannels, isBound, isConnected, removeConnectionEventListener, start, stop, unbindBroadcaster |
| Method Detail |
|---|
EspSignalUtilities getUtilities()
EspWindowFunction getWindowFunction()
EspSignalUtilities.setWindow(ddf.minim.analysis.WindowFunction)void setWindowFunction(EspWindowFunction function)
function - the new window functionEspSignalUtilities.setWindow(ddf.minim.analysis.WindowFunction)AbstractDSPValues getDSPValues()
double[][] getCurrent()
double[][] getCurrent(int numSamples)
numSamples - the num samples
double[][] getCurrentFor(int channelNumber)
channelNumber - the channel number
double[][] getCurrentFor(int numSamples,
int channelNumber)
numSamples - the num sampleschannelNumber - the channel number
java.lang.String getName()
Lab getDefaultLab()
|
brought to you by Mr. Stampy | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||