Struct FitResults

Struct Documentation

struct FitResults

Results from minimizing a function

Public Members

bool isValid

true if the fit converged; false otherwise

double chiSq

chi squared; may be nan or infinite, but only if isValid false

std::vector<double> parameterList

fit parameters

std::vector<std::pair<double, double>> parameterErrorList

negative,positive (1 sigma?) error for each parameter