Chi2fit.Fit.chi2probe

You're seeing just the function chi2probe, go back to Chi2fit.Fit module for more information.
Link to this function

chi2probe(observables, parranges, fun_penalties, options)

View Source

Specs

chi2probe(observables(), [float()], (... -> any()), Keyword.t()) :: chi2probe()

Probes the chi-squared surface within a certain range of the parameters.

It does so by randomly selecting parameter value combinations and calculate the chi-squared for the list of observations based on the selected parameter values. This routine is used to roughly probe the chi-squared surface and perform more detailed and expensive calculations to precisely determine the minimum by chi2fit/4.

Returns the minimum chi-squared found, the parameter values, and all probes that resulted in chi-squared difference less than 1 with the minimum. The parameter values found in this set correspond with the errors in determining the parameters.

Options

`num` or `probes` - the number of points to calculate,
`mark` - progress indicator: a keyword list with keys `m`, `c`, `x`, and `*`; the value must be a call back
function taking zero arguments. These are called when 1000, 100, 10, probes have been done. The value of
key `*` is called when a new chi-squared minimum has been found,
`smoothing` - boolean value indicating whether the chi-squared is smoothened using a Gauss distribution. This
is used in case the surface is rough because of numerical instabilities to smoothen the surface,
`model` - See `chi2/3` and `chi2/4`