Skip to main content
[Preprint]. 2024 Sep 6:2023.10.28.564422. Originally published 2023 Nov 1. [Version 4] doi: 10.1101/2023.10.28.564422

Algorithm 1.

Proposed PCA method

1: Estimate variance of signal (diagonal of Σ^) using eq. (10), and estimate SNR proxy
2: Add all frequencies ξk to considered set C
3: for it = 1d do
4:  Select i*, the largest SNR (ξk) proxy in C
5:  Add i* to selected set S
6:  Remove all j such that |ξjξi*|<2 from C
7: end for
8: Estimate all columns in S using eq. (10) and their complex conjugates to form Σ^col
9: Orthogonalize Σ^col and store in U˜
10: Compute the reduced covariance matrix Σ^U˜ using eq. (14)
11: Compute the eigenvalue decomposition of Σ^U˜=VΓV*
12: Return principal components UU˜V, eigenvalues Г