hyperspy/hyperspy — pull request #321 by francisco-dlp (2014-06-11 09:13:43+00:00)
Title: Enh eelsmodel background

Following #315 I have added tests to `EELSModel.two_area_background_estimatation` and `fit_background` and made the code more readable. An extra bug in `fit_background` discovered with the tests was fixed on the way.