07-13-2005 07:20 AM
07-13-2005 09:03 AM
07-15-2005 06:57 AM
Hi mr. Altenbach,
Thank you for your quick response to my question, although I don't think it solves my problem. I looked at the file you referred to and think that this method will not work, just as mine doesn't. Elsewhere on the forum I found messages in which you stated something about having the fitfunction operate at the whole dataset at the same time, and I think something like this should be done here. Up till now I tried to put my basic inputspectra on the same foot as the independent variable x, which is linearly increasing and so not degenerated: every datapoint corresponds to a unique x-value. I know i'm just guessing now, but thats all i can do at the moment, because I didn't run through the LM fit routine in full detail (yet). But since fitting a simple spectrum A to a dataset that is linearly derived from A does not give a good fit (like y = a0*[A]) it seems reasonable that there's something wrong here.
Its very kind of you that you want to look at my data. lIl provide you with a dataset [D], a basic spectrum [A] and a wavelength axis [W], as well as a fitformula y(d(w),a(w)). Hope you'll find it an easy problem, please don't spend too much time.
Kind regards,
Olav Kaspers07-15-2005 05:08 PM
07-16-2005 09:09 AM
Again
Sorry,
I was just playing with the program I made and filled in some formula to fit very simple data that were just generated by myself. The formulas in the program are irrelevant. When you want to know more, then search for DPS and Amelink, but I cannot imagine that the information you have now is insufficient.
Kind regards,
Olav
07-16-2005 09:11 AM
Sorry,
I was just playing with the program I made and filled in some formula to fit very simple data that were just generated by myself. The data I send you as well as the formula in the text doc are original. The formulas in the program are irrelevant. When you want to know more, then search for DPS and Amelink, but I cannot imagine that the information you have now is insufficient.
Kind regards,
Olav
09-29-2005 08:31 AM
Hi mr. Altenbach,
It has been a while since I have been working on the problem with the Levenberg-Marquardt fitting. After my last post I have tried several ideas that didn't work out right. After some laboratory work it still seems significant to use a different fit-approach than we were used to do. Especially a non-linear fit of the scattering component in our backscattering signal would probably be beneficial. The levenberg-marquardt routine I finally came up with could only fit a very simple function and was very instable. I see that you have not replied to my last response. If you got stuck somewhere, can you please tell me your findings up to now? Otherwise I will look in another direction. Provided that you are still interested in the problem, I could also give you any information you want directly if you think this is helpful.
Kind regards,
Olav Kaspers
09-30-2005 10:54 AM
Sorry, I haven't studied this further. Let me try to find your old e-mail.
If you have newer example code or better sample data, please send it to me. (I might not have time to look at it until next week, though).
11-11-2005 10:50 AM
11-11-2005 07:19 PM
Notice, that changing to the more complex formula starting with the attached code would only involve very little work:
Shouldn't take more than 5 minutes! 😉