I would like to know a way to fit a sine wave and get the function to return the fit parameters.
The curvefit function in IDL calls a user defined function but it does not fit any phase. It fits a sine wave with only the initial value of the phase.
y = A + B Sin(C+x)
A = Axis of rotation
B = Amplitude
C = Phase
My data just has half a sinogram.
Thank you,
HB
|