numpy diagonal deprecation warning workaround
casting simulation.add_gaussian_noise as the type of the data explicitly
Automatic style corrections courtesy of autopep8
ignore invalid (i.e. negative) value errors in np.log in model._poisson_likelihood_function
casting simulation.add_gaussian_noise as the type of the data explicitly
Automatic style corrections courtesy of autopep8
ignore invalid (i.e. negative) value errors in np.log in model._poisson_likelihood_function
Merge branch 'BUGFIX_multiple_nosetest_deprecation_warning_bugs' of github.com:to266/hyperspy into BUGFIX_multiple_nosetest_deprecation_warning_bugs

Conflicts:
	hyperspy/_signals/simulation.py
Merge pull request #247 from to266/BUGFIX_multiple_nosetest_deprecation_warning_bugs

Bugfix multiple nosetest deprecation warning bugs