hyperspy/hyperspy — pull request #298 by francisco-dlp (2014-05-01 15:55:32+00:00)
Title: Bug fix estimate elastic scattering threshold

As reported in #294, the `EELSSpecrum.estimate_elastic_scattering_threshold` method was not working as expected when operating on a single spectrum. This PR fixes that bug, improves the docstring and—as proposed #294—raises a warning when the threshold can not be determined for one or more spectra.