-
Notifications
You must be signed in to change notification settings - Fork 2
/
Path.h
44 lines (37 loc) · 855 Bytes
/
Path.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef PATHSIM_PATH_HPP
#define PATHSIM_PATH_HPP
#include <math.h>
#include "cmplx.h"
#include "FilterTables.h"
#include "GaussFIR.h"
namespace PathSim {
class Path
{
public:
Path();
void CalcPath( cmplx* pIn, cmplx* pOut);
void InitPath( double Spread, double Offset, int blocksize,int numpaths, bool active);
private:
int m_IIRLength;
cmplx MakeGaussianDelaySample();
int m_NoiseSampRate;
bool m_PathActive;
int m_inc;
int m_BlockSize;
int m_Indx;
double m_Offset;
double m_Spread;
double m_LPGain;
double m_Timeinc;
cmplx m_pQue0[INTP_QUE_SIZE];
cmplx m_pQue1[INTP_QUE_SIZE];
cmplx m_pQue2[INTP_QUE_SIZE];
cmplx m_pQue3[INTP_QUE_SIZE];
int m_FirState0;
int m_FirState1;
int m_FirState2;
int m_FirState3;
GaussFIR m_lpfir;
};
} // namespace PathSim
#endif // PATHSIM_PATH_HPP