ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware

com.github.mrstampy.esp.dsp.lab
Enum EspWindowFunction

java.lang.Object
  extended by java.lang.Enum<EspWindowFunction>
      extended by com.github.mrstampy.esp.dsp.lab.EspWindowFunction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EspWindowFunction>

public enum EspWindowFunction
extends java.lang.Enum<EspWindowFunction>

Enums representing the various WindowFunctions.

Author:
burton

Enum Constant Summary
BARTLETT
          The bartlett.
BARTLETT_HANN
          The bartlett hann.
BLACKMAN
          The blackman.
COSINE
          The cosine.
GAUSS
          The gauss.
HAMMING
          The hamming.
HANN
          The hann.
LANCZOS
          The lanczos.
RECTANGULAR
          The rectangular.
TRIANGULAR
          The triangular.
 
Method Summary
static EspWindowFunction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EspWindowFunction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BARTLETT

public static final EspWindowFunction BARTLETT
The bartlett.


BARTLETT_HANN

public static final EspWindowFunction BARTLETT_HANN
The bartlett hann.


BLACKMAN

public static final EspWindowFunction BLACKMAN
The blackman.


COSINE

public static final EspWindowFunction COSINE
The cosine.


GAUSS

public static final EspWindowFunction GAUSS
The gauss.


HAMMING

public static final EspWindowFunction HAMMING
The hamming.


HANN

public static final EspWindowFunction HANN
The hann.


LANCZOS

public static final EspWindowFunction LANCZOS
The lanczos.


RECTANGULAR

public static final EspWindowFunction RECTANGULAR
The rectangular.


TRIANGULAR

public static final EspWindowFunction TRIANGULAR
The triangular.

Method Detail

values

public static EspWindowFunction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EspWindowFunction c : EspWindowFunction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EspWindowFunction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

brought to you by Mr. Stampy