Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Hi everybody, has anybody ever had the following problem of with the CURVEFIT procedure? I am trying to fit a not too complicated analytical function to some data, but sometimes the CURVEFIT procedure just stalls on me. Admittedly, that is when the data does not look too much like the shape of the analytical function I am trying to force it to, but I thought there is an error message for non-convergence. Also, when I just interrupt the process, iter = 2, which indicates that the routine is stuck after the second iteration step, doesn't it? Well, any input would be much appreciated. Thanks, Jens Redemann
Jens, Which version of IDL are you using? There was a hole in the logic for the inner (lambda) loop through IDL 5.0. I recall plugging the hole, so it should have shown up in IDL 5.1 or IDL 5.1.1. That's not the only possible source of problems. One may be in your code for the fitting function. Regards, Scott Lett