Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cFFT Class Reference

#include <cFFT.h>

Public Member Functions

 cFFT (BIT_ENUM_t iLengthBits, bool bAutoScale=true)
 
 ~cFFT ()
 
void DoHamWin ()
 
void DoFFT ()
 
void DoScale ()
 
 UNITTEST_FRIEND (cFFT)
 

Public Attributes

bool m_bAutoScale
 populate m_lScale or not. More...
 
cArrayVal< LONG > m_Data
 initial data and work frame (0-255) [ m_iFrameHalf ] k_DATASHIFT More...
 
LONG m_lScale
 FFT results. More...
 

Static Public Attributes

static const BIT_ENUM_t k_DATASHIFT = 8
 

Detailed Description

Fast Fourier Transform. Frequency analysis. for 8 bit values. iLengthBits = Window Size = power of 2.

Constructor & Destructor Documentation

◆ cFFT()

GrayLib::cFFT::cFFT ( BIT_ENUM_t  iLengthBits,
bool  bAutoScale = true 
)
Todo:
Fix this to be calculated on demand for any window size. based on cValueCurve?

◆ ~cFFT()

GrayLib::cFFT::~cFFT ( )

Member Function Documentation

◆ DoFFT()

void GrayLib::cFFT::DoFFT ( void  )

◆ DoHamWin()

void GrayLib::cFFT::DoHamWin ( )

◆ DoScale()

void GrayLib::cFFT::DoScale ( void  )

◆ UNITTEST_FRIEND()

GrayLib::cFFT::UNITTEST_FRIEND ( cFFT  )

Member Data Documentation

◆ k_DATASHIFT

const BIT_ENUM_t GrayLib::cFFT::k_DATASHIFT = 8
static

◆ m_bAutoScale

bool GrayLib::cFFT::m_bAutoScale

populate m_lScale or not.

◆ m_Data

cArrayVal<LONG> GrayLib::cFFT::m_Data

initial data and work frame (0-255) [ m_iFrameHalf ] k_DATASHIFT

◆ m_lScale

LONG GrayLib::cFFT::m_lScale

FFT results.


The documentation for this class was generated from the following files: