lightkurve.correctors.DesignMatrix.pca

DesignMatrix.pca(nterms=6)

Returns a new DesignMatrix with a smaller number of regressors.

This method will use Principal Components Analysis (PCA) to reduce the number of columns in the matrix.

Parameters
ntermsint

Number of columns in the new matrix.

Returns
DesignMatrix

A new design matrix with PCA applied.