Merge branch 'master' into chi_squared
Add test_chisq_in_range test.
Automatic style corrections courtesy of autopep8.
Mark the weigths argument of Model.fit as deprecated. Weighted least squares is now obtained setting method to wls. Make least squares fitters aware of metadata.Signal.Noise_properties.variance and use it to properly estimate the parameter std. Fix some bugs on the way a correct the model tests.
Automatic style corrections courtesy of autopep8.
Add tests.
BUG-FIX: multifit deprecation warning was raising an exception.
BUG-FIX: chisq was not performing a float division when spectrum dtype was of int dtype.
Add extra chisq model tests.
Automatic style corrections courtesy of autopep8
Remove the unnecessary wls Model.fit argument. Improve Model.fit docstring.
Automatic style corrections courtesy of autopep8
Correct typo
Fix Signal.estimate_poissonian_noise_variance
Automatic style corrections courtesy of autopep8
Document bounded and weighted optimization and merge the chisq section with the fitting section.
Document chisq in Model.fit docstring.
BUG-FIX: Signal.estimate_poissionian_noise_variance was not copying the data array.
BUG-FIX: default gain_offset was wrongly set to 1
Add Signal.estimate_poissonian_noise tests.