ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware

com.github.mrstampy.esp.openbci.dsp
Class OpenBCISignalUtilities

java.lang.Object
  extended by com.github.mrstampy.esp.dsp.EspSignalUtilities
      extended by com.github.mrstampy.esp.openbci.dsp.OpenBCISignalUtilities

public class OpenBCISignalUtilities
extends EspSignalUtilities

The Class OpenBCISignalUtilities.


Constructor Summary
OpenBCISignalUtilities()
          Instantiates a new open bci signal utilities.
 
Method Summary
 AbstractDSPValues getDSPValues()
          Gets the DSP values.
protected  int getFFTSize()
          Return the size of the sample arrays.
protected  java.math.BigDecimal getRawSignalBreadth()
          Return the range of the raw signal values (max - min).
protected  double getSampleRate()
          Return the sample rate.
 
Methods inherited from class com.github.mrstampy.esp.dsp.EspSignalUtilities
absolute, createBandPassFilter, createHighPassFilter, createLowPassFilter, fftLogPowerSpectrum, fftRealSpectrum, getEspLowPassFilter, getLogPower, getLogPower, getLogPowersFor, getUpperMeasurableFrequency, normalize, normalize, normalize, rms, setWindow, wma
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenBCISignalUtilities

public OpenBCISignalUtilities()
Instantiates a new open bci signal utilities.

Method Detail

getFFTSize

protected int getFFTSize()
Description copied from class: EspSignalUtilities
Return the size of the sample arrays. Must be a power of 2;

Specified by:
getFFTSize in class EspSignalUtilities
Returns:
the FFT size

getSampleRate

protected double getSampleRate()
Description copied from class: EspSignalUtilities
Return the sample rate.

Specified by:
getSampleRate in class EspSignalUtilities
Returns:
the sample rate

getRawSignalBreadth

protected java.math.BigDecimal getRawSignalBreadth()
Description copied from class: EspSignalUtilities
Return the range of the raw signal values (max - min).

Specified by:
getRawSignalBreadth in class EspSignalUtilities
Returns:
the raw signal breadth

getDSPValues

public AbstractDSPValues getDSPValues()
Description copied from class: EspSignalUtilities
Gets the DSP values.

Specified by:
getDSPValues in class EspSignalUtilities
Returns:
the DSP values

brought to you by Mr. Stampy