Fixes #287
Merge branch 'BUG_FIX_estimate_elastic_scattering_threshold' into 0.7.1
Merge branch 'BUG_FIX_fourier_ratio_single_spectrum' into 0.7.1
Merge branch 'ENH_spikes_removal_tool_update' into 0.7.1
Merge branch 'BUG_FIX_second_pointer' into 0.7.1
bugfix: fit_background was wrongfully erasing the first active edge
Merge pull request #316 from AEljarrat/bugfix_smart_fit

bugfix: fit_background was wrongfully erasing the first active edge
BUG_FIX: two_area_background_estimation was raising an exception when not PowerLaw component in model.
Automatic style corrections courtesy of autopep8.
New EELSModel._get_first_ionization_edge_energy method.
Automatic style corrections courtesy of autopep8.
Simply PowerLaw.estimate_parameters code and add test for only_current=False
Automatic style corrections courtesy of autopep8.
Automatic style corrections courtesy of autopep8.
Make EELSModel.fit_background more readable and add tests.

The "kind" argument was replaced by "only_current" keeping the same
functionality and default. Tests added. The code was simplified to enhance
readability. A bug that was raising an exception when a background component
that was not a powerlaw was present has been fixed.
Automatic style corrections courtesy of autopep8.
Merge pull request #321 from francisco-dlp/ENH_eelsmodel_background

Enh eelsmodel background
Merge pull request #289 from francisco-dlp/BUG_FIX_spikes_removal_tool_closes

Fixes #287
Fix #310 and add tests to detect the bug
Automatic style corrections courtesy of autopep8.