Add metadata.Signal.binned leaf and set the default value for the different signals.
Automatic style corrections courtesy of autopep8.
Add tests
Automatic style corrections courtesy of autopep8.
New Signal.integrate1D method. Use the new method in all funtions that perform an integration that should be performed differently for binned signals.
Automatic style corrections courtesy of autopep8.
Make fitting Signal.binned awared.
Automatic style corrections courtesy of autopep8.
Add tests
Automatic style corrections courtesy of autopep8.
Fix metadata typo
Fix estimate component parameters
Automatic style corrections courtesy of autopep8.
Fix tests
Automatic style corrections courtesy of autopep8.
Add new DataAxis.value_range_to_indices method. Add tests for it and the estimate_parameters method of the four components and fix bugs discovered on the way.
Automatic style corrections courtesy of autopep8.
BUG-FIX: Model.as_signal was not conserving metadata.Signal.binned.
BUG-FIX: remove_background was broken for binned signals.
Model.plot_components was broken for binned signals.