Lucid.Spectra.PCA

Perform a principal component analysis on spectra or spectral images. Find the principal components representing the maximum sample variance. Project the sample amplitude values onto the principal components.

See sklearn.decomposition.PCA for more information.

Modes

spectra

  • Spectra of a spectral map are samples.

  • Different wavelengths in the spectrum are the features.

spectral-images

  • Images at different wavelengths are samples.

  • Different pixel coordinates in the image are the features.