This function performs PCA filtering on the input matrix. It reduces the dimensionality of the data by projecting it onto the specified number of principal components and then reconstructs the matrix.
Reference:Bro, R.; Smilde, A. K. (2014). Principal component analysis. Analytical Methods, 6, 2812-2831. https://doi.org/10.1039/C3AY41907J