sines_in_awgn.h
上传用户:jtjnyq9001
上传日期:2014-11-21
资源大小:3974k
文件大小:1k
- //
- // File = sines_in_awgn.h
- //
- #ifndef _SINES_IN_AWGN_H_
- #define _SINES_IN_AWGN_H_
- #include "psmodel.h"
- #include "signal_T.h"
- class SinesInAwgn : public PracSimModel
- {
- public:
- SinesInAwgn( char* instance_nam,
- PracSimModel *outer_model,
- Signal<float>* out_sig );
- ~SinesInAwgn(void);
- void Initialize(void);
- int Execute(void);
- private:
- //long Initial_Seed;
- long Noise_Seed;
- int Block_Size;
- double Samp_Intvl;
- int Num_Sines;
- double Awgn_Sigma;
- double *Freq_In_Hz;
- double *Arg_Increm;
- double *Base_Arg;
- double *Phase_In_Deg;
- double *Phase_In_Rad;
- double *Tone_Gain;
- Signal<float> *Out_Sig;
-
- };
- #endif //_SINES_IN_AWGN_H_