Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG BUTTON_GROUP LCD_DISCO_F746NG TS_DISCO_F746NG UIT_FFT_Real mbed
MyClasses/FFT_Analysis.hpp
- Committer:
- MikamiUitOpen
- Date:
- 2016-02-22
- Revision:
- 18:6630d61aeb3c
- Parent:
- 12:e5367ab82460
File content as of revision 18:6630d61aeb3c:
//-------------------------------------------------------
//  Class for spectrum analysis using FFT (Header)
//
//  2015/12/15, Copyright (c) 2015 MIKAMI, Naoki
//-------------------------------------------------------
#ifndef FFT_ANALYZER_HPP
#define FFT_ANALYZER_HPP
#include "AnalysisBase.hpp"
namespace Mikami
{
    class FftAnalyzer : public AnalyzerBase
    {
    public:
        FftAnalyzer(int nData, int nFft);
        virtual ~FftAnalyzer();
    private:
        Complex* yFft_; // output of FFT
        virtual void Analyze(const float xn[], float yn[]);
        // disallow copy constructor and assignment operator
        FftAnalyzer(const FftAnalyzer& );
        FftAnalyzer& operator=(const FftAnalyzer& );
    };
}
#endif  // FFT_ANALYZER_HPP