Did you know that least-squares spectral analysis is a method for estimating a frequency spectrum , based on a least squares fit between data and trigonometric functions ? SOMEFACTS.com