Vespucci
1.0.0
|
Go to the source code of this file.
Namespaces | |
Vespucci | |
A namespace for "global" functions, including math functions. | |
Vespucci::Math | |
A namespace for math functions relating to linear least squares regression. | |
Vespucci::Math::NonLinLeastSq | |
Functions | |
double | GaussianFn (double t, const double *p) |
Gaussian. More... | |
double | LorentzianFn (double t, const double *p) |
Lorentzian. More... | |
double | VoigtFn (double t, const double *p) |
VoigtFn. More... | |
VESPUCCI_EXPORT arma::vec | Vespucci::Math::NonLinLeastSq::EstimateGaussParams (arma::vec x, arma::vec y) |
Vespucci::Math::NonLinLeastSq::EstimateGaussParams. More... | |
VESPUCCI_EXPORT arma::vec | Vespucci::Math::NonLinLeastSq::EstimateLorentzParams (arma::vec x, arma::vec y) |
VESPUCCI_EXPORT arma::vec | Vespucci::Math::NonLinLeastSq::FitGaussian (arma::vec x, arma::vec y) |
Vespucci::Math::NonLinLeastSq::FitGaussian. More... | |
VESPUCCI_EXPORT arma::vec | Vespucci::Math::NonLinLeastSq::FitLorentzian (arma::vec x, arma::vec y) |
VESPUCCI_EXPORT arma::vec | Vespucci::Math::NonLinLeastSq::FitVoigt (arma::vec x, arma::vec y) |
double GaussianFn | ( | double | t, |
const double * | p | ||
) |
Gaussian.
t | values of t or x... |
p | parameters A, b (mu), c (sigma), in that order |
Definition at line 31 of file nonlinleastsq.cpp.
double LorentzianFn | ( | double | t, |
const double * | p | ||
) |
Lorentzian.
t | |
p | parameters I, gamma and x0, in that order |
Definition at line 42 of file nonlinleastsq.cpp.
double VoigtFn | ( | double | t, |
const double * | p | ||
) |
VoigtFn.
t | |
p | amplitude, center, sigma, gamma |
Definition at line 53 of file nonlinleastsq.cpp.