hyperspy/hyperspyUI

Scree plot includes too many components

thomasaarholt opened this issue · 3 comments

The scree plot produced from Decomposition Model has no way of limiting the number of components, which makes it difficult to choose the right number.
Previously the limit used to be 30 (I think?), but the new code is set to be equal to the number of channels in the signal.

For reference, the hyperspy change is hyperspy/hyperspy#1359.

Any suggestions for how to solve this best? The simplest approach is of course to hardcode 50 in the UI code to replicate the old behavior.

Hard code it for now, as you can only use the standard PCA algorithm.