Background and linfit diagnostics: full and/or sum
When saving the results of background subtraction or linear fitting, the background and fit is also saved for each spectrum. Add more options:
- do not save the background/fit
- save the background/fit per pixel
- save the average background/fit
- save the background/fit per pixel AND the average background/fit