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: F746_GUI F746_SAI_IO UIT_FFT_Real
FFT_Analysis.hpp
00001 //------------------------------------------------------- 00002 // Class for spectrum analysis using FFT (Header) 00003 // 00004 // 2017/03/30, Copyright (c) 2017 MIKAMI, Naoki 00005 //------------------------------------------------------- 00006 00007 #ifndef FFT_ANALYZER_HPP 00008 #define FFT_ANALYZER_HPP 00009 00010 #include "AnalysisBase.hpp" 00011 00012 namespace Mikami 00013 { 00014 class FftAnalyzer : public AnalyzerBase 00015 { 00016 public: 00017 FftAnalyzer(int nData, int nFft); 00018 00019 private: 00020 Array<Complex> yFft_; // output of FFT 00021 00022 virtual void Analyze(const float xn[], float yn[]); 00023 00024 // disallow copy constructor and assignment operator 00025 FftAnalyzer(const FftAnalyzer& ); 00026 FftAnalyzer& operator=(const FftAnalyzer& ); 00027 }; 00028 } 00029 #endif // FFT_ANALYZER_HPP
Generated on Tue Jul 12 2022 18:30:30 by
