Skip to contents

Project new spectra into a fitted PCA space

Usage

.project_pca(pca, X_new)

Arguments

pca

Object returned by .fit_pca()

X_new

Numeric matrix in the same band order as the fitting set

Value

Matrix of PC scores (n_new x n_components)