spec_estim.h

来自「终于找到了bpsk信号的调制」· C头文件 代码 · 共 28 行

H
28
字号
//
// File = spec_estim.h
//
#ifndef _SPEC_ESTIM_H_
#define _SPEC_ESTIM_H_  

#include <complex>


template <class T>
class SpectrumEstimator
{
public:
   SpectrumEstimator(int num_samps,
                  int fft_len,
                  double samp_intvl );

   virtual void Calculate(  T* time_signal ){};
   void GetEstimate(double *psd_est);
protected:
   int Num_Samps;
   int Fft_Len;
   double Samp_Intvl;
   double *Psd_Estimate;
};


#endif // _SPEC_ESTIM_H_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?