hyperspy/hyperspy — pull request #394 by magnunor (2014-10-30 21:31:11+00:00)
Title: Enh check if component is in model

Fixes confusing expection when m.fit_component is called with a component which is not in the model.

I was a bit lazy, so I just made a new branch with the fix (https://github.com/hyperspy/hyperspy/pull/369)