📄 pnwvchar.h
字号:
/*
** Class PQNodeWaveCharacter
**
*/
#ifndef PNWVCHAR_INC
#define PNWVCHAR_INC
class PQNodeWaveCharacter
{
private:
float fMaxD_Dt;
float fRiseTime;
float fPrincipal;
float fFiltMin;
float fFiltMax;
float fMin;
float fMax;
float fArea1;
float fArea2;
protected:
float FindMax(int iNumPnt, float *fWave);
float FindMin(int iNumPnt, float *fWave);
void CalcMaxD_DT(int iNumPnt, float *fWave, float fSampTime);
void CalcPrincFreq(int iNumPnt, float *fWave,float fBase);
void CalcRiseTime(int iNumPnt, float *fWave, float fSampTime);
void CalcAreaChars(int iNumPnt, float *fWave, float fSampTime);
void FilterWaveform(int iNumPnt,float *pWave,float *fFilt,
float fSampTime,float fCenter);
public:
/*
** Main form of the constructor usually called by one of the
** disturbance decoder modules. Not normally called by an app
** directly since app doesn't have direct access to some of the info.
*/
PQNodeWaveCharacter(int iNumPnt,float *pWave,float fSampTime,
float fBase);
~PQNodeWaveCharacter();
float GetMaxD_DT() {return fMaxD_Dt;}
float GetRiseTime() {return fRiseTime;}
float GetPrincipal() {return fPrincipal;}
float GetFiltMin() {return fFiltMin;}
float GetFiltMax() {return fFiltMax;}
float GetMin() {return fMin;}
float GetMax() {return fMax;}
float GetArea() {return fArea1;}
float GetSquareArea() {return fArea2;}
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -