ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware

com.github.mrstampy.esp.dsp.lab
Class DefaultLabValues

java.lang.Object
  extended by com.github.mrstampy.esp.dsp.lab.DefaultLabValues
All Implemented Interfaces:
LabValues, java.io.Serializable

public class DefaultLabValues
extends java.lang.Object
implements LabValues, java.io.Serializable

The Class DefaultLabValues.

See Also:
Serialized Form

Constructor Summary
DefaultLabValues()
           
 
Method Summary
 double getBaseline()
          Gets the baseline.
 int getChannel()
          Returns the channel being processed by this lab.
 FFTType getFftType()
          Gets the fft type.
 double getHighNormalizeFftFrequency()
          Gets the high normalize fft frequency.
 double getHighPassFilterFactor()
          Gets the high pass filter factor.
 double getHighPassFrequency()
          Gets the high pass frequency.
 double getLowNormalizeFftFrequency()
          Gets the low normalize fft frequency.
 double getLowPassFilterFactor()
          Gets the low pass filter factor.
 double getLowPassFrequency()
          Gets the low pass frequency.
 int getNumBands()
          Gets the num bands.
 int getNumChannels()
          Returns the number of channels available for processing.
 PassFilter getPassFilter()
          Gets the pass filter.
 EspWindowFunction getWindowFunction()
          Gets the window function.
 boolean isAbsoluteValues()
          Checks if is absolute values.
 boolean isNormalizeFft()
          Checks if is normalize fft.
 boolean isNormalizeSignal()
          Checks if is normalize signal.
 void setAbsoluteValues(boolean absoluteValues)
          Sets the absolute values.
 void setBaseline(double baseline)
          Sets the baseline.
 void setChannel(int channel)
          Set the channel for this lab.
 void setFftType(FFTType fftType)
          Sets the fft type.
 void setHighNormalizeFftFrequency(double highNormalizeFftFrequency)
          Sets the high normalize fft frequency.
 void setHighPassFilterFactor(double highPassFilterFactor)
          Sets the high pass filter factor.
 void setHighPassFrequency(double highPassFrequency)
          Sets the high pass frequency.
 void setLowNormalizeFftFrequency(double lowNormalizeFftFrequency)
          Sets the low normalize fft frequency.
 void setLowPassFilterFactor(double passFilterFactor)
          Sets the low pass filter factor.
 void setLowPassFrequency(double lowPassFrequency)
          Sets the low pass frequency.
 void setNormalizeFft(boolean normalizeFft)
          Sets the normalize fft.
 void setNormalizeSignal(boolean normalizeSignal)
          Sets the normalize signal.
 void setNumBands(int numBands)
          Sets the num bands.
 void setNumChannels(int numChannels)
          Sets the num channels.
 void setPassFilter(PassFilter passFilter)
          Sets the pass filter.
 void setWindowFunction(EspWindowFunction windowFunction)
          Sets the window function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLabValues

public DefaultLabValues()
Method Detail

getFftType

public FFTType getFftType()
Description copied from interface: LabValues
Gets the fft type.

Specified by:
getFftType in interface LabValues
Returns:
the fft type

setFftType

public void setFftType(FFTType fftType)
Description copied from interface: LabValues
Sets the fft type.

Specified by:
setFftType in interface LabValues
Parameters:
fftType - the new fft type

getNumBands

public int getNumBands()
Description copied from interface: LabValues
Gets the num bands.

Specified by:
getNumBands in interface LabValues
Returns:
the num bands

setNumBands

public void setNumBands(int numBands)
Description copied from interface: LabValues
Sets the num bands.

Specified by:
setNumBands in interface LabValues
Parameters:
numBands - the new num bands

getHighPassFrequency

public double getHighPassFrequency()
Description copied from interface: LabValues
Gets the high pass frequency.

Specified by:
getHighPassFrequency in interface LabValues
Returns:
the high pass frequency

setHighPassFrequency

public void setHighPassFrequency(double highPassFrequency)
Description copied from interface: LabValues
Sets the high pass frequency.

Specified by:
setHighPassFrequency in interface LabValues
Parameters:
highPassFrequency - the new high pass frequency

getLowPassFrequency

public double getLowPassFrequency()
Description copied from interface: LabValues
Gets the low pass frequency.

Specified by:
getLowPassFrequency in interface LabValues
Returns:
the low pass frequency

setLowPassFrequency

public void setLowPassFrequency(double lowPassFrequency)
Description copied from interface: LabValues
Sets the low pass frequency.

Specified by:
setLowPassFrequency in interface LabValues
Parameters:
lowPassFrequency - the new low pass frequency

getPassFilter

public PassFilter getPassFilter()
Description copied from interface: LabValues
Gets the pass filter.

Specified by:
getPassFilter in interface LabValues
Returns:
the pass filter

setPassFilter

public void setPassFilter(PassFilter passFilter)
Description copied from interface: LabValues
Sets the pass filter.

Specified by:
setPassFilter in interface LabValues
Parameters:
passFilter - the new pass filter

isAbsoluteValues

public boolean isAbsoluteValues()
Description copied from interface: LabValues
Checks if is absolute values.

Specified by:
isAbsoluteValues in interface LabValues
Returns:
true, if is absolute values

setAbsoluteValues

public void setAbsoluteValues(boolean absoluteValues)
Description copied from interface: LabValues
Sets the absolute values.

Specified by:
setAbsoluteValues in interface LabValues
Parameters:
absoluteValues - the new absolute values

isNormalizeFft

public boolean isNormalizeFft()
Description copied from interface: LabValues
Checks if is normalize fft.

Specified by:
isNormalizeFft in interface LabValues
Returns:
true, if is normalize fft

setNormalizeFft

public void setNormalizeFft(boolean normalizeFft)
Description copied from interface: LabValues
Sets the normalize fft.

Specified by:
setNormalizeFft in interface LabValues
Parameters:
normalizeFft - the new normalize fft

isNormalizeSignal

public boolean isNormalizeSignal()
Description copied from interface: LabValues
Checks if is normalize signal.

Specified by:
isNormalizeSignal in interface LabValues
Returns:
true, if is normalize signal

setNormalizeSignal

public void setNormalizeSignal(boolean normalizeSignal)
Description copied from interface: LabValues
Sets the normalize signal.

Specified by:
setNormalizeSignal in interface LabValues
Parameters:
normalizeSignal - the new normalize signal

getHighNormalizeFftFrequency

public double getHighNormalizeFftFrequency()
Description copied from interface: LabValues
Gets the high normalize fft frequency.

Specified by:
getHighNormalizeFftFrequency in interface LabValues
Returns:
the high normalize fft frequency

setHighNormalizeFftFrequency

public void setHighNormalizeFftFrequency(double highNormalizeFftFrequency)
Description copied from interface: LabValues
Sets the high normalize fft frequency.

Specified by:
setHighNormalizeFftFrequency in interface LabValues
Parameters:
highNormalizeFftFrequency - the new high normalize fft frequency

getLowNormalizeFftFrequency

public double getLowNormalizeFftFrequency()
Description copied from interface: LabValues
Gets the low normalize fft frequency.

Specified by:
getLowNormalizeFftFrequency in interface LabValues
Returns:
the low normalize fft frequency

setLowNormalizeFftFrequency

public void setLowNormalizeFftFrequency(double lowNormalizeFftFrequency)
Description copied from interface: LabValues
Sets the low normalize fft frequency.

Specified by:
setLowNormalizeFftFrequency in interface LabValues
Parameters:
lowNormalizeFftFrequency - the new low normalize fft frequency

getBaseline

public double getBaseline()
Description copied from interface: LabValues
Gets the baseline.

Specified by:
getBaseline in interface LabValues
Returns:
the baseline

setBaseline

public void setBaseline(double baseline)
Description copied from interface: LabValues
Sets the baseline.

Specified by:
setBaseline in interface LabValues
Parameters:
baseline - the new baseline

getLowPassFilterFactor

public double getLowPassFilterFactor()
Description copied from interface: LabValues
Gets the low pass filter factor.

Specified by:
getLowPassFilterFactor in interface LabValues
Returns:
the low pass filter factor

setLowPassFilterFactor

public void setLowPassFilterFactor(double passFilterFactor)
Description copied from interface: LabValues
Sets the low pass filter factor.

Specified by:
setLowPassFilterFactor in interface LabValues
Parameters:
passFilterFactor - the new low pass filter factor

getHighPassFilterFactor

public double getHighPassFilterFactor()
Description copied from interface: LabValues
Gets the high pass filter factor.

Specified by:
getHighPassFilterFactor in interface LabValues
Returns:
the high pass filter factor

setHighPassFilterFactor

public void setHighPassFilterFactor(double highPassFilterFactor)
Description copied from interface: LabValues
Sets the high pass filter factor.

Specified by:
setHighPassFilterFactor in interface LabValues
Parameters:
highPassFilterFactor - the new high pass filter factor

getWindowFunction

public EspWindowFunction getWindowFunction()
Description copied from interface: LabValues
Gets the window function.

Specified by:
getWindowFunction in interface LabValues
Returns:
the window function

setWindowFunction

public void setWindowFunction(EspWindowFunction windowFunction)
Description copied from interface: LabValues
Sets the window function.

Specified by:
setWindowFunction in interface LabValues
Parameters:
windowFunction - the new window function

getChannel

public int getChannel()
Description copied from interface: LabValues
Returns the channel being processed by this lab.

Specified by:
getChannel in interface LabValues
Returns:
the channel

setChannel

public void setChannel(int channel)
Description copied from interface: LabValues
Set the channel for this lab.

Specified by:
setChannel in interface LabValues
Parameters:
channel - the new channel

getNumChannels

public int getNumChannels()
Description copied from interface: LabValues
Returns the number of channels available for processing.

Specified by:
getNumChannels in interface LabValues
Returns:
the num channels

setNumChannels

public void setNumChannels(int numChannels)
Sets the num channels.

Parameters:
numChannels - the new num channels

brought to you by Mr. Stampy