Fitting a rebinned spectrum results in wrong peak volume
If a peak in a spectrum is fitted that has just been rebinned by
spectrum rebin X, the peak volume given by the fit is X-times higher.
Integrating is not affected.
Steps to reproduce: Load a spectrum, fit a peak.
spectrum rebin 2, fit peak.
- Divide peak volume after fitting by rebinning factor
- Write rebinned spectrum to file and load it (different calibration required)