Journal of Applied Crystallography

Volume 39, Part 3 (June 2006)


computer programs



J. Appl. Cryst. (2006). 39, 458-465    [ doi:10.1107/S0021889806009915 ]

SVDdiagnostic, a program to diagnose numerical conditioning of Rietveld refinements

P. H. J. Mercier, Y. Le Page, P. S. Whitfield and L. D. Mitchell

Abstract: Singular value decomposition (SVD) of the matrix of normal equations is used here both passively to assess numerical stability, and actively to troubleshoot problem refinements, singular or not. Such systems can then either be cured by rank reduction or solved with arbitrary-precision arithmetic carrying a number of digits known to be sufficient. SVD analysis provides objective information about such required rank reduction or number of digits. Pre-conditioning of the normal matrix is seen to decrease its condition number by many orders of magnitude in actual cases, illustrating its great practical usefulness. The methods and tools developed here have general applicability to diagnose problems with least squares, in particular ill-conditioned Rietveld refinements. Crystal-chemical and standard refinements described in the work by Mercier et al. [J. Appl. Cryst. (2006), 39, 369-375] are shown to have similar numerical stability. The program SVDdiagnostic is freely available at http://www.tothcanada.com.

Keywords: Rietveld analysis; crystal structure refinement; singular value decomposition; numerical stability; rank reduction; arbitrary-precision arithmetic.

 bibliographic record in  format

  Find reference:   Volume   Page   
  Search:     From   to      Advanced search

Copyright © International Union of Crystallography
IUCr Webmaster