cpl_error_code clipm_priv_optimize_gaussian(const cpl_vector *xvalues, const cpl_vector *xsigmas, const cpl_vector *yvalues, const cpl_vector *ysigmas, cpl_fit_mode fit_pars, int max_iterations, double *x0, double *x0_uncertainty, double *sigma, double *sigma_uncertainty, double *fwhm, double *fwhm_uncertainty, double *area, double *offset, double *mse, double *red_chisq, cpl_matrix **covariance, cpl_size *lower_ndx, cpl_size *upper_ndx)
Apply a Gaussian fitting until it is successful.
Definition: clipm_priv_optimize.c:145
cpl_error_code clipm_priv_optimize_downhill_simplex(cpl_vector *fit_params, const cpl_vector *start_delta, const cpl_vector *precision,(cpl_vector *params, void *other), void *other_func_par, int max_iterations, double *optimum, int *done_iterations)
Optimize a set of parameters using the Downhill Simplex method by Nelder and Mead (also known as the ...
Definition: clipm_priv_optimize.c:528