The code
with the AiGau showing the original glitch detailed
below is in osglitch.zip. #Changes
Figure 1 Difference between current approximation to Aigau and that from Gauss Laguerre integration.
Figure 2 The glitch clearly begins at -6.0
The value -6 is the last point for which the asymptotic
expansion is used. The result above
implies that the fitting has been to a set of points containing this glitch.
Figure 3 The fitted data – aigau
Figure 4 Black is fit - Laguerre integration, blue is Laguerre - data fitted Gauss Quadrature on the Gaussian.
Clearly out to about -2.5, Gauss Laguerre integration is more accurate than the direct Gauss Quadrature.
This is due to the fact that the exponential has been analytically removed from the Gauss Laguerre integral. The glitch is an end point effect. This will probably be best removed by extending the fit to -7 and using Gauss Laguerre for the z < -3.
The codes in ../genint/Welcome.htm were changed to reflect this. The Brack was refitted using codes in ../fitting/Welcome.htm and the results were displayed using sglitch.wpj
Figure 5 |AiGauss(z)-Aiglz(z)|/AiGauss(z)
The
relative error is less than 1e-15 and the error in the function AiGauss(z) is equal to the double precision limit.