Buy article online - an online subscription or single-article purchase is required to access this article.
short communications
Efficiency in the numerical calculation of absorption corrections for cylinders has been examined. Two mathematical expressions for the correction factors have been evaluated by two methods for numerical integration. It has been found that the Gauss–Legendre quadrature applied to the formula proposed by Thorkildsen & Larsen [Acta Cryst. (1998), A54, 172–185] gives results with relative errors ≤10−6, using 12 × 12 terms in the numerical integration. The conventional approach, using Simpson's method in conjunction with the formula given by Dwiggins [Acta Cryst. (1975), A31, 146–148] for the absorption correction, is far less efficient.