ramanspy.analysis.unmix.PPI

class ramanspy.analysis.unmix.PPI(*, n_endmembers: int, abundance_method: Literal['ucls', 'nnls', 'fcls'] = 'fcls')[source]

Pixel Purity Index (PPI).

Parameters:
  • n_endmembers (int) – The number of endmembers.

  • abundance_method ({'ucls', 'nnls', 'fcls'}, optional) –

    The abundance finder method to use. Default is 'fcls'.

    • 'ucls' - Unconstrained Least Squares;

    • 'nnls' - Non-negative Least Squares;

    • 'fcls' - Fully-constrained Least Squares.

Note

Implementation based on pysptools.

References

Boardman, J.W., Kruse, F.A. and Green, R.O., 1995. Mapping target signatures via partial unmixing of AVIRIS data.

__init__(*, n_endmembers: int, abundance_method: Literal['ucls', 'nnls', 'fcls'] = 'fcls')[source]

Methods

__init__(*, n_endmembers[, abundance_method])

apply(raman_objects)

Applies the defined analysis method on the Raman spectroscopic objects provided.