nikon
05-03-2005, 04:38 AM
Dear all,
I am trying to implement LM methods to unfold a courve that is a sum of many gaussians with different positions and height.(This is the basic problem, then there are some complications).
To make the problem smaller I could also have fixed position and width parameter, and fit only for heights.
I am facing a problem on convergence. I derived the main algorithm from the implemantation of the C++ software package.
During the alghoritm execution two things can happend:
1) The fitting is improving.
2) The fitting is NOT improving.
For the first case there is a convergence criteria that is reasonable and easy to understand.
In the second case the alghoritm try other 4 iteration and then stop. I don't really understand this.
Then I cannot understand why If I run the alghorithm twice using for the second time starting point the results of the first run, results change, usually improve if you do it three to four time then hangs over the same value.
Best Regards
Davide
I am trying to implement LM methods to unfold a courve that is a sum of many gaussians with different positions and height.(This is the basic problem, then there are some complications).
To make the problem smaller I could also have fixed position and width parameter, and fit only for heights.
I am facing a problem on convergence. I derived the main algorithm from the implemantation of the C++ software package.
During the alghoritm execution two things can happend:
1) The fitting is improving.
2) The fitting is NOT improving.
For the first case there is a convergence criteria that is reasonable and easy to understand.
In the second case the alghoritm try other 4 iteration and then stop. I don't really understand this.
Then I cannot understand why If I run the alghorithm twice using for the second time starting point the results of the first run, results change, usually improve if you do it three to four time then hangs over the same value.
Best Regards
Davide