UNIMPLEMENTED_guess(n_dat,
x,
y,
params,
fres)
| source code
|
Performs initial parameter estimate for a NL fitter.
The initial estimate method depends on the function used. There is no
absolute guarantee of quality, however if the data points approximately
match the fitted function the fit will typically converge from the
returned estimate.
The parameters are filled also on failure, though just with some
neutral values that should not give raise to NaNs and infinities.
- Parameters:
n_dat - The number of data points (number of items in
x and y). (int)
x - Abscissa points. (const-gdouble*)
y - Ordinate points. (const-gdouble*)
params - The array to fill with estimated parameter values. It has to be
at least gwy_nlfit_preset_get_nparams()
long. (gdouble*)
fres - Set to True if succeeds,
False on failure. (gboolean*)
|