parabolic_regression

Format:
parabolic_regression(scan_id)
parabolic_regression(scan_id, a)
parabolic_regression(scan_id, b)
parabolic_regression(scan_id, t)
Result:
Number, text
Description:
Returns the result of the parabolic regression: y = a + b*x + c*x*x. The meaning of t is $\chi^2/(d.o.f. - 2)$. The second parameter selects a, b, c or t. If the second parameter is omitted, the functions returns a string that contains all of them.
e.g.:
SPECTRA> * = par(sname)
(a = 1.23, b = 2.34, c=3.45, t = 12)
SPECTRA> * = par(sname, a)
1.23