Exceed recursion limit in numerical integration
Dahair
I used the numerical integration in Igor and got some message like: BUG: Exceeded recursion limit; Specify finite intervals.
Does that means the integration results are not reliable? I google online but can't get any results.
Thanks!
Test()
End
May 30, 2016 at 05:09 pm - Permalink
It would be useful to see exactly what you are trying to integrate and how. There are many options in numerical integration that might fail if you are not providing reasonable inputs. If you are not sure how this works, start by integrating a simple expression, e.g.,
f(x)=1+x
between simple numerical limits [2,7]. Next consider integrating
f(x)=sin(1e6*pi*x)
between the same limits. In the first example you had a smooth line with little fluctuations. In the second you would need to consider the oscillating nature of the function and evaluate it using an appropriate number of intervals. For the above example you should try a count (Integrate1d count parameter) ~ of the number of cycles.
The operation failed so there is no reason to expect that the results are meaningful.
May 31, 2016 at 08:40 am - Permalink