ParentFull threadknappa·Instead of trying to fit a sine wave this way, one can also take the Fourier transform and read off the largest value and its location.View on HN