The lab2 manual is imprecise: you want to be fitting a lower-order polynomial, not a lower-order spline. In pyraf, this is mistakenly called the degree of the spline. If you are working in python instead, it's better to stick to curve_fit, as introduced in the first python tutorial, or polyfit.
The lab2 manual is imprecise: you want to be fitting a lower-order polynomial, not a lower-order spline. In
pyraf
, this is mistakenly called the degree of the spline. If you are working in python instead, it's better to stick tocurve_fit
, as introduced in the first python tutorial, or polyfit.