C# Class MCAEmotiv.Analysis.FFT

Provides a convenient wrapper around the MathNet.Numerics.Transformation.RealFourierTransform class
Show file Open project: madelson/Emotiv-Experimenter

Private Properties

Property Type Description

Public Methods

Method Description
FFT ( ) : System

Construct an FFT with default parameter values

Transform ( IEnumerable signal ) : IArray

Transforms the signal based on the current settings. Returns the first half of the result, which is a reflection of the second half.

TransformRaw ( IArrayView input, FFTOutputType outputType = FFTOutputType.Power, WindowType windowType = WindowType.Rectangular ) : IArrayView

A static transformation method. The length is the nearest power of two that is not greater than the input length. Returns the full result.

Method Details

FFT() public method

Construct an FFT with default parameter values
public FFT ( ) : System
return System

Transform() public method

Transforms the signal based on the current settings. Returns the first half of the result, which is a reflection of the second half.
public Transform ( IEnumerable signal ) : IArray
signal IEnumerable
return IArray

TransformRaw() public static method

A static transformation method. The length is the nearest power of two that is not greater than the input length. Returns the full result.
public static TransformRaw ( IArrayView input, FFTOutputType outputType = FFTOutputType.Power, WindowType windowType = WindowType.Rectangular ) : IArrayView
input IArrayView
outputType FFTOutputType
windowType WindowType
return IArrayView