anjavdl / PHY517_AST443

PHY 517 / AST 443 - Observational Techniques in Astronomy
11 stars 19 forks source link

Fitting the spectroscopic flat field #10

Open anjavdl opened 5 years ago

anjavdl commented 5 years ago

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.