05-10-2006 01:22 PM
05-10-2006 02:01 PM
05-10-2006 03:00 PM - edited 05-10-2006 03:00 PM
Message Edited by altenbach on 05-10-2006 01:01 PM
05-10-2006 05:10 PM
Hi Lynn & altenbach,
Thanks for your suggestions. Yours seems quite simple to implement, Lynn, but unfortunately, while for my test case the noise is less than the step size, the signal I would ideally like to fit to is not substantially larger than the noise, so thresholding the array won't work in general.
As to the step size, I don't see how to change it in the fitting algorithm, but I did try making the increments of x orders of magnitude smaller, so that the step occurs over a length less than 1E-6. While the Lev_Mar algorithm now gives a step location different than that input, it is still much closer to the input guess than to the new location of the step.
Any other ideas?
Cheers,
Nancy
05-10-2006 05:24 PM
05-10-2006 05:42 PM
Yes, the increment trick should not work that well in general, because even though we now have a direction for the partial derivative, the magnitude is still very quantized and only relies on one or a few data points.
Is your data equally spaced in X?
05-10-2006 05:45 PM
05-10-2006 05:46 PM
05-10-2006 06:03 PM