I have a set of data points that are measured points of a bore and that are not equally spaced, and I would like to fit a sine curve to them. Could you help me, please? We would like to examine the shape differences between this bore and a perfect circle shaped bore.
I have had a look at this question, but the solutions either assume equal spacing or assume that a parameter is known. I have had a look at this too, but the author has points with equal spacing (they mention FFT as an option).
I would like to fit a curve to a series of data points in the following form:
y(x) = K + A * sin[o*(x+c)]
where K, A, o, and c are the real paramters I am looking for, assuming that o is an integer in the interval [1;25].
Thank you in advance!
Edit: I added the physical meaning of the points, and sample data.