30 PronyFitter(
int model_order,
int exponent_number,
int gate_beg,
int gate_end);
42 void SolveSLEGauss(std::complex<float>*
x, std::complex<float>** r, std::complex<float>* b,
int n);
44 void CovarianceQRmod(
float& rho_f, std::vector<float>& a_f,
float& rho_b, std::vector<float>& a_b);
45 void CovarianceDirect(
float& rho_f, std::vector<float>& a_f,
float& rho_b, std::vector<float>& a_b);
46 float LevelBy2Points(
float X1,
float Y1,
float X2,
float Y2,
float Y0);
51 void SetWaveform(std::vector<uint16_t>& uWfm, uint16_t uZeroLevel);
64 float GetX(
float level,
int first_sample,
int last_sample);
65 float GetX(
float level,
int first_sample,
int last_sample,
float step);
68 float GetChiSquare(
int gate_beg,
int gate_end,
int time_max);
77 void Initialize(
int model_order,
int exponent_number,
int gate_beg,
int gate_end);
94 std::complex<float>*
fz;
95 std::complex<float>*
fh;
uint16_t GetFitValue(int sample_number)
void CovarianceDirect(float &rho_f, std::vector< float > &a_f, float &rho_b, std::vector< float > &a_b)
void SetSignalBegin(int SignalBeg)
void SetExternalHarmonics(std::complex< float > z1, std::complex< float > z2)
void SolveSLEGauss(float *x, float **r, float *b, int n)
std::complex< float > * fz
void CalculateFitHarmonics()
std::vector< uint16_t > GetFitWfm()
void CovarianceQRmod(float &rho_f, std::vector< float > &a_f, float &rho_b, std::vector< float > &a_b)
float GetRSquare(int gate_beg, int gate_end)
float GetSignalBeginFromPhase()
void SetHarmonics(std::complex< float > *z)
void CalculateFitAmplitudes()
std::vector< uint16_t > fuWfm
int CalcSignalBegin(float front_time_beg_03, float front_time_end)
std::complex< float > * GetHarmonics()
int ChooseBestSignalBeginHarmonics(int first_sample, int last_sample)
void SetDebugMode(bool IsDebug)
std::complex< float > * GetAmplitudes()
void SetWaveform(std::vector< uint16_t > &uWfm, uint16_t uZeroLevel)
int ChooseBestSignalBegin(int first_sample, int last_sample)
float GetDeltaInSample(int sample)
float GetChiSquare(int gate_beg, int gate_end, int time_max)
float GetX(float level, int first_sample, int last_sample)
void Initialize(int model_order, int exponent_number, int gate_beg, int gate_end)
std::complex< float > * fh
float LevelBy2Points(float X1, float Y1, float X2, float Y2, float Y0)
void MakePileUpRejection(int time_max)
float GetIntegral(int gate_beg, int gate_end)
void SolveSLECholesky(float *x, float **a, float *b, int n)
std::vector< uint16_t > fuFitWfm