This script explain how to call commands from the MSA plugin in order to implement PCA/Factor Rotations/ICA functionalities in your own scripts.
The MSA plugin for Digital Micrograph allows to perform Principal Component Analysis (PCA) on hyperspectral data, such as EELS, EFTEM or EDX. Noise reduction can be easily performed by selecting only components explaining most of the variance, thus improving signal-to-noise ratio. Factor rotations can be applied to selected components in order to get a more realistic representation of the data. Segmentation of the data is possible on the basis of the matrix factorization by mean of scatter diagrams.
See G. Lucas et al., Micron 52-53 (2013) p.49-56.